Resume after App kill Android
<p>I am designing an Android App. </p>

<p>My aim is that if the App is killed while it was in the background, and if the user starts the app again then it should have the option to resume the App.</p>

<p>Now, my <code>onStart</code> function is called in two scenarios:</p>

<ol>
<li>When the activity is started for the first time</li>
<li>Even if the activity started after the kill.</li>
</ol>

<p>I want to check which can determine in the <code>onStart()</code>, that the app started from scratch, or it is resuming from previous state?</p>
