View Single Post
Old June 21st, 2011, 06:58 AM   #1 (permalink)
lightningRay
New Member
Thread Author (OP)
 
Join Date: Jun 2011
Posts: 7
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default SharedPreferences not stored after appl is stopped

My first android application has to do with showing activities at different times. All works fine ... except that when I retrieve the shared preferences in an activity activated from the notification manager, all my options are reset to default values.

Similarly, when I try to reinstall an alarm after the phone is switched off, all the previously stored shared preferences options are non-existent.

Is there something special that has to be set in the manifest, or do I have to retrieve the context in a special manner? from a broadcastReceiver?
lightningRay is offline  
Last edited by lightningRay; June 21st, 2011 at 07:07 AM. Reason: empty
Reply With Quote