Difference between onPause and onStop()
<p>From android doc here <a href="http://developer.android.com/reference/android/app/Activity.html">http://developer.android.com/reference/android/app/Activity.html</a>,
it said 'Activity comes into foreground' will call onPause(), and 'Activity is no longer visible' will call onStop().</p>

<p>Isn't 'Activity comes into foreground' same as 'Activity is no longer visible'?
Can you please tell me what is the difference between them?</p>

<p>Thank you.</p>
