title: How to close my application when clicking on a notification?
body: <p>I created notifications and when you click on the notification does a startActivity.
  This works perfectly, especially when my application has not been started.</p>
  
  <p>The problem I have is when I open the notification since the previous activity remains open.</p>
  
  <p>My intention is that when you click on the notification to close the current application and this contain only the new call from the notification.</p>
  
  <p>I've tried showing in the "AndroidManifest" with "android:launch=" and flags on PendingIntents but I haven't successfully run it.</p>
  
  <p>Any help? thanks</p>
  
  <p><strong>EDIT:</strong>
  My application starts as follows:</p>
  
  <p>SplashScreen.class -> Main.class (is a TabActivity)</p>
  
  <p>When I click on the notification I do the following:
  SplashScreen.class -> Main.class (is a TabActivity)</p>
  
  <p>But if my application is already started and I pulse on the notification, I have:</p>
  
  <p>NEW - SplashScreen.class -> Main.class (is a TabActivity) (Current)
  OLDER. And below is still open above Main.class</p>