I've searched for a solution to this problem but all I could find was
this:

http://groups.google.com/group/android-developers/browse_thread/thread/08ce5ab110c56b29?pli=1#

...and this near the bottom:

http://groups.google.com/group/android-developers/browse_thread/thread/4fb4cfab8b079809/d4f41ee6084f60bb?lnk=gst&q=trial+period#d4f41ee6084f60bb



I see many "Lite" and free versions of apps on the Android Market that
have Paid App counterparts (by the way, does anyone else loathe the
pseudo-word "lite" ??). Many of these implement some sort of Trial
Period.

Does anyone have ideas on how this could be done? I could write the
current date to a config file on the app's first run, then check this
date on all subsequent runs to see if the current date minus the first
run date is past the trial period # of days. But what's to stop the
user from uninstalling the app, thus wiping out the config file, and
reinstalling it to get a new trial period?

I could have the app report the unique Android ID and First Run date
to a licensing server and then have the app check it on all subsequent
runs, but I would really like to avoid network access permissions and
usage if the app doesn't need them.

Is there a way to write a config file to a system folder (not the SD
card, as it could be wiped) that doesn't get deleted when the app is
uninstalled, and can't be easily modified/deleted by the user (w/out
root access, of course)? It's my understanding that because each app
runs in its own sandbox, its access to files and folders outside of
its own space is limited/restricted.

Any light shone on this subject would be greatly appreciated!

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

Reply via email to