I\'m trying to catch an \"android.database.sqlite.SQLiteException: error code 5: database is locked\" exception with:
try { db.insert(\"mytable\"
Try this
try { } catch( SQLiteException e) { Log.e("My App",e.toString(), e); }