title: Application Launch Count
body: <p>I am working on an application, wherein after say 5 times the app is opened by a user, at 6th attempt the app should ask for feedback from user. I tried using Activity <code>OnStart</code>,<code>OnResume</code>, but its not working out since even after leaving and re-entering activity these methods are called. Also as per android functionality, I cannot quit app so that I can find it out from the first activity called. How do I find how many times the app was launched?</p>
  
  <p>I hope this is not confusing. </p>
  
  <p><strong>Edit</strong> </p>
  
  <p>Alternatively is there a way, wherein I can always resume my app from the first activity( or welcome page for eg.), once user presses home to quit the app.</p>