Simply write data to the disk, perhaps the version number of the last
time the application ran. Then check this number at startup.

Cheers,
Justin
Android Team @ Google

On Apr 15, 11:49 am, Josh <[email protected]> wrote:
> I have an application which has notifications that disappear when the
> application is closed to be reinstalled or upgraded.
>
> How can I have my application either run code when it is first
> installed or have it detect the first time it is run?
--~--~---------~--~----~------------~-------~--~----~
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