title: Android PreferenceManager without visual component?
body: <p>I am trying to get a <strong>SharedPreferences</strong> object from the <strong>PreferenceManager</strong> but don't want to pass in the <strong>Context</strong> to the class.</p>
  
  <p>Can I get a "global" context from inside my class?</p>
  
  <pre><code>SharedPreferences pref = 
     PreferenceManager.getDefaultSharedPreferences(Some Global Context);
  </code></pre>