07-17-2009 10:18 AM - edited 07-17-2009 10:19 AM
2 almeida: I have had issues (exceptions were thrown at runtime) when I installed updated applications with altered persistable classes over the old persisted data.
Nothing was rewritten automatically.
Just my experience.
07-17-2009 12:45 PM
09-21-2011 06:27 AM
Hello Ted,
you wrote
" Don't use Hashtable directly, since then (as others pointed out) the only way to remove the data is to wipe the device. "
but, using
PersistentStore.destroyPersistentObject(PERSISTENT
you are able to destroy the persistent object, aren't you?
09-21-2011 06:55 AM
Not sure Ted is around anymore but I can confirm the approach you have suggested will work.
09-30-2011 12:10 PM
What about when using Eclipse during development? Everytime I use "Load Project(s) on Device" the app seems to be removed first and then installed again. Is there a way to tell Eclipse to perform an upgrade instead? The first part of my app requires that you use OAuth to retrieve a toke. I can save that token but not between builds. Makes development a chore. Is the best answer to hard code the token information during development?
Thanks
Nicholas