difference between finish() and killProcess by myPid();
<p>I always heard about to close any activity use finish or use <strong><code>android.os.Process.killProcess(android.os.Process.myPid());</code></strong></p>

<p><em><strong>first &lt;:</em></strong> i think that what is exact difference between them ?<br>
<strong><em>second &lt;:</em></strong> what is most preferable thing of them?  </p>

<p><em><strong>third &lt;:</em></strong> some time we lose pass data one activity to second when we pass data through intent, so using finish() or killprocess ,data will be lose?</p>
