I have got a small problem in an Android app I am working on :
There are 3 activities namely A , B , C and the invocation is in the following order : A -> B -> C.
Set a flag for B activity like this
private boolean mDestroyActivity = false;
set that flag true when you call startActivity C.
for activity B onStop method add checking like this:
if (mDestroyActivity) finish();
Then when you press back button in C you will jump back to A.