Calling SharedPrefences on AppWidget
<p>I would like to know if there is an issue with calling a sharedPeference value  on an appWidget provider class so i can use it for an update. I have this code which i call on a method in the  appWidget provider class, but it keeps giving me compilation error and that i should create a method for it. this is the code:</p>

<pre><code>prefs = getSharedPreference("myPrefs", Context.MODE_PRIVATE);
</code></pre>

<p>is this a known issue and is there any other way i can pass the value from my configuration class, if this is not possible. Thank you</p>
