rawQuery()
doesn't actually run the SQL. Use execSQL()
instead:
db.execSQL("update status SET column1 = '"+prms+"' ");
(See What is the correct way to do inserts/updates/deletes in Android SQLiteDatabase using a query string? to learn more how rawQuery()
and execSQL()
work under the hood.)