How to finish all activity on click of home button
<p>Suppose there are A, B, C, D and E etc. activities. I'm creating a home button in Activity E. Now if i move from activity A to B, then to C and finally to D.</p>

<p>Now when i click home button, when i am in D activity, i want to finish all my other activity.</p>

<p>So that when the user start the app again it will not open the D activity. Instead it will open from the first activity i.e A. So how that can be done. Please suggest me.</p>

<p>Regards
Anshuman</p>
