The documentation of that exception says: /** * An exception that indicates that an IO error occured while accessing the * SQLite database file. */
Which might be an indication for the following scenarios: - Disk is full - Disk is corrupt - File system is corrupt - File does not exist - File is a directory - No read / write permissions Does it happen on all your test devices? On Monday, January 7, 2013 8:13:37 PM UTC-6, ironox wrote: > > i am working on android 4.1. > > recently i consequently get > the android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 522) > > it is a random thing, but only happened in the apps that used > MediaProvider! > > Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error > (code 522) > at > android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:182) > at > android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140) > at > android.content.ContentProviderProxy.query(ContentProviderNative.java:366) > at android.content.ContentResolver.query(ContentResolver.java:371) > at android.content.ContentResolver.query(ContentResolver.java:314) > > can anyone give me some hint? it is blocking me for 3 weeks ..... > > -- 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