title: Android: Remove a series of Activites on clicking back
body: <p>Hello my application works like this now..</p>
  
  <p>Main -> SEARCH -> ActivityA -> SEARCH -> ActivityB</p>
  
  <p>And when I click back from ActivityB, I want to do the following</p>
  
  <p>Main &lt;- SEARCH &lt;- ActivityB</p>
  
  <p>i.e I want to skip activities ActivityA and SEARCH. I know I have to use the FLAG, but how?</p>