Code example for SQLiteDatabase

Methods: update

	public void setRecordingDescription(long id, String description) {
		ContentValues values = new ContentValues();
		values.put(RecordingColumn.RECORDING_DESCRIPTION.label, description);
		db.update(TABLE_RECORDINGS, values, recordingIdClause(id), null);
	public static String getString(Cursor cursor, Column column) {
		return getString(cursor, column.getLabel());
	public static String getString(Cursor cursor, String column) {
		return cursor.getString(cursor.getColumnIndex(column));
	public static long getLong(Cursor cursor, Column column) {
		return getLong(cursor, column.getLabel());
Connect your IDE to all the code out there  Get Codota for Java