title: how to check the last run activity?
body: <p>Suppose I have 5 activities , A, B, C, D, E.
  C is the middle activity which decides if the activity that invoked C is A , then C should take the user to D , and if the activity that invoked C is B , then C should take the user to E. So is there any way to determine which of the activities were last run(A or B) so I can take the user to the corresponding activity after C(D or E)? </p>
  
  <p>It is a bit complicated ,but this is the best way I can explain this.</p>