title: How to get back to root Activity from Java Code ? (Android)
body: <p>Im creating activities as following.</p>
  
  <p>A->B->C->D</p>
  
  <p>When i click a button in D i need to go back to the home screen (which is A).</p>
  
  <p>Can anyone suggest me some code to do this. </p>