Skip to content
Advertisement

Tag: android

SQLite in Android How to update a specific row

I’ve been trying to update a specific row for a while now, and it seems that there are two ways to do this. From what I’ve read and tried, you can just use the: execSQL(String sql) method or the: update(String table, ContentValues values, String whereClause, String[] whereArgs) method. (Let me know if this is incorrect as I am new to

Exit the SQLite shell on Android

I’m using SQLite 3 on Mac OS X’s ADB shell to view my application database using: After I wrongly typed the quit command above, instead of the .quit for example, the shell goes into the …> prompt where none of the known commands seem to work. I can’t even get out by Ctrl + C, Ctrl + /, Esc, etc. I have

Advertisement