Friday, May 21, 2010

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

Just for whoever's still running into the database malformed issue.
We still never figured out what was causing it (some sources say its
an inherent sqlite bug), but we ended up just backing up the db at
certain points and restoring after a corruption delete

http://www.screaming-penguin.com/node/7749

On May 17, 5:19 pm, tobias429 <ecker...@gmx.de> wrote:
> I got several reports from users that my application had lost the
> preferences. This is more than a year ago when the G1 was most
> prevalent... I switched to saving preferences in a file instead, and
> complaints stopped. Check the following threads for similar reports:
>
> http://groups.google.com/group/android-developers/browse_thread/threa...http://groups.google.com/group/android-developers/browse_thread/threa...http://groups.google.com/group/android-developers/browse_thread/threa...http://groups.google.com/group/android-developers/browse_thread/threa...
>
> Haven't seen any explanation though whether this is a legitimate bug
> in Android or wrong coding on the developers behalf. At any rate, I
> couldn't get preferences to work, whereas storing the data in files
> works perfect. If you have problems using preferences, I can only
> recommend to go for files instead.
>
> On May 17, 9:45 pm, luoster <luos...@gmail.com> wrote:
>
>
>
>
>
> > I just got this on a G1, so its definitely not Droid exclusive...
>
> > On Mar 30, 11:22 am, "Matt (preinvent)" <m...@preinvent.com> wrote:
>
> > > On Mar 24, 4:40 pm, Doug <dougforp...@gmail.com> wrote:
>
> > > > This problem happened to one of my users just today - he has a Droid.
> > > > I asked if anything "weird" had happened before the problem occurred
> > > > (like the phone misbehaving).
>
> > > > He said:
>
> > > > The only random weird behavior I noticed before the problem was that
> > > > my phone suddenly stopped ringing this morning for incoming calls - I
> > > > checked the ringer volume and its up. I see a missed call in my
> > > > Droid's phone log - and I get an email from YouMail - but it never
> > > > rings. Just started happening this morning. There was no auto reboot
> > > > (that I noticed) and it wasn't switched off until I noticed the issue
> > > > and tried to resolve it myself with a reboot.
>
> > > OK, this is bizarre - I have experienced this in my Droid as well.  I
> > > don't know if any of my users have seen this, or if it's even related,
> > > but it's not an isolated incident.
>
> > --
> > 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+unsubscribe@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment