How to clear current activities in the stack?
<p>Support App starts activity A, then A starts activity B and finishes itself. After that activity B starts activity C.</p>

<p>Now the stack contains B and C, with C at the top. </p>

<p>Then I click a button in activity C, and want it to clear B and C and start activity A, i.e. I want activity A to be the only activity in the stack. How can I make it?</p>

<p>Thanks!</p>

<p>Edit: I made a test to use FLAG_ACTIVITY_CLEAR_TOP. But it didn't work in my case, because activity A is not running when button in activity C is clicked.</p>
