title: Two instances of my android application are running....How to avoid this?
body: <p>Here is my problem - </p>
  
  <ol>
  <li><p>I copied my .apk file onto phone memory card and launch my application clicking on it and it allows me to install my application.I install my application.Finally,I got system installation pop up containing two options "Open" and "Done".When i click "Open" my application got launched.Up to this point everything is working without any problem.</p></li>
  <li><p>Now in my application I click on a button and some download is taking place as a result(Showing progress dialog).Now I press a Home button,so my application goes to background.</p></li>
  <li><p>Now I again launch my application by going inside Menu and clicking on my application icon.</p></li>
  <li><p>Expected result - Still I Should see Progress Dialog for downloading.
  Actual result - A new instance/session of my application is getting started.</p></li>
  </ol>
  
  <p>So how to avoid this so that only one and one instance/session of my application should run.</p>