tified by the resource string <code>R.string.preference_file_key</code> and opens it using
the private mode so the file is accessible by only your app.</p>

<pre>
Context context = getActivity();
SharedPreferences sharedPref = context.getSharedPreferences(
        getString(R.string.preference_file_key), Context.MODE_PRIVATE);
</pre>

<p>When naming your shared preference files, you should use a name that's uniquely identifiable
to your app, such as <code>"com.example.myapp.PREFERENCE_FILE_KEY"</code></p>

