I have a main activity (A) that starts a new activity (B) that calls a third activity (C). When pressing a button on activity C, i would like to return to activity A and also close activity B.
Schema:
A -(opens)> B -(opens)> C
When pressing a button on activity C I only want to have activity A, so I need to kill B and C.
On Activity C i can just call finish()
.
What to do with activity B?