Hi developers!!
Today I started an application I've written as usual, and....for some
unknown reasons it decided to "force close".
I started it again and I found that all the stored settings were lost. By
looking at the Logcat log I found the following error:
I/ActivityManager( 62): Starting activity: Intent {
action=android.intent.action.
MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000
comp={net.yuvalsharon.android.netsms/net.yuvalsharon.android.netsms.app.NetSMS}
}
I/ActivityManager( 62): Start proc net.yuvalsharon.android.netsms for
activity net.yuvalsharon.android.netsms/.app.NetSMS: pid=19309 uid=10051
gids={3003}
D/NetSMS (19309): Starting...
E/Database(19309): Removing corrupt database:
/data/data/net.yuvalsharon.android.netsms/databases/NetSMSDB
E/AndroidRuntime(19309): java.lang.RuntimeException: Unable to start
activity
ComponentInfo{net.yuvalsharon.android.netsms/net.yuvalsharon.android.netsms.app.NetSMS}:
android.database.sqlite.SQLiteDatabaseCorruptException: database disk image
is malformed
So, it seems my database was corrupted, and therefore was deleted (and the
re-start re-created it).
I'm wondering...has anyone else experienced that? Do you know what caused
it? How can I avoid it from happening?
Maybe I should store my data in a text file?? (I hope not...:P).
Any information is very very welcome!!
Thank you
Yuvi
--
YuviDroid
http://android.yuvalsharon.net
--
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