Code example for SQLiteDatabase

Methods: update

0
		open(); 
 
		ContentValues args = new ContentValues();
		args.put( "VALUE", "false" );
 
		int rows = db.update( "CLEANUP", args, "KEY=?", new String[] { key } );
	 
		close(); 
 
		Log.v( TAG, "updateCleanup : exit" );
		return rows > 0;
	} 
 
	// internal helpers 
 
	private Boolean fetchCleanupValueByKey( String key ) {
		Log.v( TAG, "fetchCleanupValueByKey : enter" );
		 
		open(); 
		 
		Boolean value = Boolean.FALSE;