My apologies for this basic question, but I have just started on
Android development and this has got me stumped.

I am using java.util.prefs / prefs.put / prefs.get to persist some
values.  They are persisted over the course of a given emulator run,
but when I exit normally and start up the emulator again, the values
have disappeared.  My understanding was that the emulator saved user
data between sessions.  My initial thought was that I needed to
request some permission via the Manifest, but I didn't see anything
there that seemed relevant.  Can any of you tell me how to persist
values using java.util.prefs across emulator sessions?  Is this just
an emulator issue, or an issue with the G1 as well?  (Possibly related
to the problem: I notice that I get a BackingStore /
PrivilegedActionException when I try to prefs.flush() or prefs.sync
()).

Many thanks!
Red


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

Reply via email to