[android-developers] Re: Shared preferences not accessible in service

2009-03-03 Thread mac
Hi, as I understand you can use the option MODE_WORLD_WRITEABLE in getSharedPref to achieve this. I actually did not use this, because my service runs in the same process. Regards, Mirko On 3 Mrz., 14:27, dar wrote: > See the Note on the > docs:http://developer.android.com/reference/android/c

[android-developers] Re: Shared preferences not accessible in service

2009-03-03 Thread dar
See the Note on the docs: http://developer.android.com/reference/android/content/SharedPreferences.html. So, if your reader and writer are in the same process you are ok. If they are in separate processes you have to find another way to keep them in sync until the sdk supports separate processes