Hi,

every time i increase my database version and push the upgraded app to
the users, something weird happens.. For some it works perfectly fine,
and some report crashes (including through the Market's reporting
system) caused by the lack of table columns i just added in onUpgrade.
If you want to see the method:
http://code.google.com/p/tag-todo-list/source/browse/trunk/Donut/src/com/android/todo/data/ToDoDB.java#136

I can't spot any exceptions that appear in onUpgrade. What i'm
currently doing to bypass these problems is intercepting the
exceptions where the new fields are invoked for the first time and
then calling onUpgrade 'manually', which is kind of dirty. Does anyone
have any idea what might be happening?

Thanks,
Teo

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

Reply via email to