A have ActivityA-->ActivityB-->ActivityC. If user push HomeButton while he is at ActivityB, and then he wants to re-open application i want to restart activity ActivityA. Well thats working calling onStop(); and finish(); in ActivityB.
But when user goes from ActivityB to ActivityC and then wants to return to ActivityB, ActivityB has already called finish(); so user will appear at ActivityA.
So how to make ActivityB available if returning from ActivityC and also finish it if user use HomeButton ?