Monday, June 7, 2010

Re: [android-developers] Re: Free and paid version share same data

On Sun, Jun 6, 2010 at 1:20 PM, andreas <andreas.streim@googlemail.com> wrote:
But if I get it right, I will still build two different apps with different names and therefore different storage locations in data/. Or am I wrong?

No, that's right - the library project won't do you any good in this case.

What I do is provide the user an upgrade path from free to paid that exports the free data to the SD card, checking for its existence of course, and then imported to the paid version. This is done once so you don't have to rely on the SD card being there all the time.

Though I can't imagine anyone NOT having one. For a while a I had a bug that would crash the app if there was no SD card installed - I never once got an email or comment about. So you can be pretty sure pretty much everyone has one, especially since most phones come with one installed already.

Make sure to check for it, but it's a pretty sure way to do what you need.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment