I was recently was doing some file io stuff and discovered that when
debugging the application gets killed in a more drastic way than is
not possible on the phone. What I found is that if a debug session is
started during a file io write the data file gets corrupted. On the
phone you have to pull out the battery which just does not happen that
often.


On Mar 19, 7:48 pm, "Matt (preinvent)" <m...@preinvent.com> wrote:
> Well there it is:
>
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002): Caused by:
> android.database.sqlite.SQLiteDatabaseCorruptException: database disk
> image is malformed
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteQuery.native_fill_window(Native Method)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:75)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:288)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:269)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.AbstractCursor.moveToPosition(AbstractCursor.java:
> 171)
> 03-19 22:43:02.624: ERROR/AndroidRuntime(2002):     at
> android.database.AbstractCursor.moveToFirst(AbstractCursor.java:248)
>
> Great.  Guess I'll be looking for another storage solution :(

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to