title: SharedPreferences from multiple files
body: <p>I have 2 files for <code>SharedPreferences</code> (one is displayed in a <code>PreferenceActivity</code>, and the second stores values which must not be seen in the <code>PreferenceActivity</code>). The problem - I want to load these values from both files at startup. </p>
  
  <ol>
  <li><p>I tried <code>getSharedPreferences()</code> and passed the file name. Strangely, I can't read the real values - it always returns default values.</p></li>
  <li><p>If I am using <code>addPreferencesFromResource()</code> and passing the resource file ID, it reads the values, but I cant use this approach because my <code>Activity</code> must subclass <code>PreferenceActivity</code>, which I dont want to do.</p></li>
  </ol>
  
  <p>How can I read values from multiple preference files? What must be passed in <code>getSharedPreferences()</code> as first argument (file name with extension, file name with no extension, etc.)?</p>
  
  <p>There is a method <code>PreferenceManager.getDefaultSharedPreferences()</code>. What is "default" when I have more than 1 file? </p>
  
  <p>So simple task to do, so much time wasted...</p>