A lighter-weight solution might be to simply write out a little
"first.run.has.happened" file, and check for it on subsequent
launches.

For most purposes (e.g. "show the welcome page once") the file could
be empty, and a simple existence check is sufficient.  If you need
something more strict, you could write a small key into it (e.g. some
sort of hash) to make it harder to spoof.

--~--~---------~--~----~------------~-------~--~----~
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