title: Android, killing an Activity from another Activity from GCM message
body: <p>I've currently wrote an app that receives a GCM message and stores it in a database then creates an alertDialog to show above any app what the new message is, the only problem i have is if a new message is received before the current alertDialog is closed you don't get to see the new message, if i sit and close each message its fine.</p>
  
  <p>So i think what ive been trying is to ask 'is the alertDialog showing...if not show the message, if its already showing close it and open a new one with the new message'.</p>
  
  <p>Does this sound feasible?</p>
  
  <p>Cheers 
  Mark  </p>