title: Simplest way to save persistent data on android (BroadcastReceiver)
body: <p>I need to save one <code>int</code> in a persistent manner.</p>
  
  <p>The simplest way i found is : <code>SharedPreferences</code> but it requires activity, i don't have an activity because I inherited from BroadcastReciever and want to save and read the data in</p>
  
  <pre><code>public void onReceive(final Context arg0, Intent arg1) 
  {
    // Save data here
  }
  </code></pre>
  
  <p>What is my best and simplest option.</p>