How to verify that the application has just started?
<p>How to verify that the application has just started?
This is the correct way?</p>

<pre><code>if(getIntent().getAction() != null &amp;&amp; getIntent().getAction().equals("android.intent.action.MAIN")) {
</code></pre>
