我正在使用数据库,我有以下DataBaseHandling类:
public class DatabaseHandler extends SQLiteOpenHelper {
// All Static variables
// Database Version
private static final int DATABASE_VERSION = 4;
// Database Name
private static final String DATABASE_MEASURES = "measuresDataBase";
// Measures table name
private static final String TABLE_MEASURES = "measures";
// Measures Table Columns names
private static final String KEY_ID = "id";
private static final String KEY_DATE = "date";
private static final String KEY_TIME_HOUR = "timeHour";
private static final String KEY_TIME_MINUTE = "timeMinute";
private static final String KEY_BE_INTAKE …Run Code Online (Sandbox Code Playgroud)