title: Android onCreate and onResume activities
body: <p>I have one label in xml file and i want to store some text in this label e.g when i first run my app the label should show the message that "First time run" and when i close it and open it again it should show me the message that "Second time run" and when i delete the app and run it again it should show me again "First time run".Can anyone help me how to do it please.How should i use shared preferences in this type of situation?</p>
  
  <p>[This is the code i have tried<a href="http://i.stack.imgur.com/FlJGa.png" rel="nofollow">][1]</a></p>