I had asked the question " Is it possible to pass a variable to the
characters method event in the XMLReader.parse() of a SAX2 driver? If so
does anyone have an example? and was sent a message to use
PreferenceManager.getDefaultSharedPreferences().
I entered the statement:
SharedPreferences mySha
Thanks, you solved my problem, again.
On Jul 9, 7:40 pm, Mark Murphy wrote:
> On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu wrote:
> > Thanks, actually i need to access the shared preference in a class
> > that extends from BroadcastReceiver, how can i call the context then?
>
> PreferenceManager.getD
On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu wrote:
> Thanks, actually i need to access the shared preference in a class
> that extends from BroadcastReceiver, how can i call the context then?
PreferenceManager.getDefaultSharedPreferences(), passing in the
Context supplied to you in onReceive() of you
Thanks, actually i need to access the shared preference in a class
that extends from BroadcastReceiver, how can i call the context then?
On Jul 9, 4:21 pm, Mika wrote:
> getSharedPreferences is defined in Context. Service is a Context also.
>
> On Jul 9, 9:08 am, Jeruliu wrote:
>
> > Dear all,
>
getSharedPreferences is defined in Context. Service is a Context also.
On Jul 9, 9:08 am, Jeruliu wrote:
> Dear all,
>
> I need to access the shared preference in a background service instead
> of activity on phone boot up.
>
> But getSharedPreferences function is define in the activity, so how
>
5 matches
Mail list logo