title: Saving a Boolean and using it across activites
body: <p>Im brand new to java and I don't understand how to read the code completely so this might be a duplicate question. I want to save a boolean status so that when the user exits or starts the application, the bool will equal the same value. I want to save the value in one activity and than use it in another. I found the reference</p>
  
  <p><a href="https://stackoverflow.com/questions/3869063/android-boolean-preference-problem">saving boolean preference problem</a> </p>
  
  <p>But I don't understand the documentation. I want to save the value similar to intent.setExtra but I want it to save even if the application is closed.</p>