How to know if is the app first execution after device reboot
<p>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).</p>

<p>I'm thinking in methods like write and rewrite a token file every minute, and each time the app starts, check the lastmodified property to know the state, but i think that must be smart ways to do it.</p>

<p>Any idea?</p>

<p>Thanks in advance,</p>
