title: Android Development: On a macro-level, how do I design a program that will store and display login information
body: <p>This is a question about Application <strong>design</strong> rather than how-to-do specific actions. </p>
  
  <p>I am a student taking a beginner's course in Android Development. I am designing a program which initially requires the person to login, then at a later time they may choose to display a record of all the users that have logged in previous sessions. </p>
  
  <p>As of right now, there are two parts of my app: LoginField Activity which takes the login data from the EditText field, and which is then supposed to write that information to an external .dat file of some kind so that the information will persist across launches, and a LoginHistory Activity which is supposed to display this history in a ListView. </p>
  
  <p>I have toyed with creating a separate class for the ArrayAdapter logic - an ArrayAdapterController class (?) - but was uncertain how to pass information back and forth between it and the two Activities. </p>
  
  <p>so - my questions are these:</p>
  
  <ol>
  <li>since the information needs to persist across sessions what is the
  best method to do this? it does not have to be secure for the moment
  as this is only a student project.  </li>
  <li>does it make sense to make a separate Controller class to handle the information that will be passed between Views/Activities?</li>
  </ol>
  
  <p>apologies for the general nature of this question - as you can see I am an MVC novice.</p>