Closed GoogleCodeExporter closed 8 years ago
Original comment by shaheen....@gmail.com
on 25 Feb 2015 at 8:05
Created the Task Table using the following SQL statement
private static final String CREATE_TABLE_TASK =
"CREATE TABLE " + TABLE_TASK
+ "(" + KEY_ID + " INTEGER PRIMARY KEY,"
+ COL_TASK_NAME + " TEXT NOT NULL,"
+ COL_TASK_DESC + " TEXT,"
+ COL_TASK_FIT_XP + " INTEGER DEFAULT 0,"
+ COL_TASK_INT_XP + " INTEGER DEFAULT 0,"
+ COL_TASK_ART_XP + " INTEGER DEFAULT 0,"
+ COL_TASK_CHR_XP + " INTEGER DEFAULT 0,"
+ COL_TASK_PER_XP + " INTEGER DEFAULT 0,"
+ COL_TASK_CREATED + " TEXT NOT NULL,"
+ COL_TASK_COMPLETED + " TEXT,"
+ COL_TASK_QUEST + " INTEGER,"
+ COL_TASK_PARENT + " INTEGER "
+ ")";
Original comment by shaheen....@gmail.com
on 4 Mar 2015 at 5:17
Created a POJO to hold an object with the task data.
Created a Helper class to write tasks to the database and to read tasks from
the database.
Original comment by shaheen....@gmail.com
on 4 Mar 2015 at 5:18
Original comment by shaheen....@gmail.com
on 4 Mar 2015 at 5:29
Original issue reported on code.google.com by
shaheen....@gmail.com
on 25 Feb 2015 at 8:02