How about just using a preference? Something like this:
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences
(getBaseContext());
boolean firstTime = prefs.getBoolean("firstTime", true);
if ( firstTime ) {
SharedPreferences.Editor editor = prefs.edit();
editor.putBoolean("firstTime", false);
editor.commit();
}
On Nov 29, 5:26 pm, schwiz <[email protected]> wrote:
> Can anyone suggest a simple way to determine if it is the first time
> my app has ever been launched since it has been installed?
--
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