Determine application first run
<p>I want to determine whether my application being run for the first time, and so it will be hard to pass around it.</p>

<p>The preferences or empty file approaches are not going to work because you can simply clear the application data or delete the empty file.</p>

<p>Also I want to do it offline so no server checking is going to work either.</p>

<p>Maybe it's possible to add some code to the installation of the apk so it will only run once.</p>

<p>So my best bet is spawning a lot of empty files all around and hope the user won't find them, but this is pretty messy.</p>

<p>Has anyone ever done this somehow before? Any suggestions?</p>
