[android-developers] How to know if is the first execution after device reboot.

2011-05-04 Thread ferran fabregas
Hi! I want to know if there are any method to know if is the first exuction of an app after reboot, or the app is alredy executed by the user (the app have one activity and to recivers). I'm thinking in methods like write and rewrite a token file every minute, and each time the app starts, check

Re: [android-developers] How to know if is the first execution after device reboot.

2011-05-04 Thread Justin Anderson
* Hi! I want to know if there are any method to know if is the first exuction of an app after reboot, or the app is alredy executed by the user (the app have one activity and to recivers).* * * Is this for an application you developed or any arbitrary app? And, WHY? * I'm thinking in methods