title: Android, how to detect that the activity is back from another activity?
body: <p>For Android, suppose 3 activities, a1 a2 a3, with their click hierarchy, a1->a2->a3.</p>
  
  <p>My questions is in a2, how to detect it is from a3 by pressing the back key, instead of entering from a1?</p>