To access shared SharedPreference from service in android
<p>I want to access SharedPreference within my background service i'd used <code>PreferenceManager.getDefaultSharedPreferences()</code> but it gives nullpoint Exception</p>

<p>Thanks</p>
