Finding a SharedPreferences name in Android
<p>I have a BroadcastReceiver that is starting a service at boot. I have a preference that I want the BroadcastReceiver to read from to check if the user wants the service to auto-start.</p>

<p>I often see this code snippit, including from other questions of a similar nature:</p>

<pre><code>/**
* @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent)
 */
@Override
public void onReceive(Context context, Intent intent) {
    context.getSharedPreferences( name, mode );
}
</code></pre>

<p>The problem is, where do I get the <code>name</code> value? If I know this then I will have no problem solving the rest of the problem.</p>

<p>Note that due to this being called on boot I cannot just monitor for preference changes.</p>
