Hello Android,

We are using SharedPreferences(Not default preferences.) to store our
application related settings. These settings are not accessible in the
background service as the application context is different from
service context. It always returns the default values. We want to have
our own UI to manage settings. So, we don't want to use
PreferenceActivity.

Is there a way or hack to access SharedPreferences from inside a
service which are created by application?

BR,
Shaddu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to