Closed GoogleCodeExporter closed 8 years ago
Original comment by shaheen....@gmail.com
on 25 Feb 2015 at 8:05
Created in the database using the following SQL
private static final String CREATE_TABLE_QUEST =
"CREATE TABLE " + TABLE_QUEST
+ "(" + KEY_ID + " INTEGER PRIMARY KEY,"
+ COL_QUEST_NAME + " TEXT NOT NULL,"
+ COL_QUEST_TYPE + " TEXT NOT NULL,"
+ COL_QUEST_XP + " INTEGER DEFAULT 0,"
+ COL_QUEST_CREATED + " TEXT NOT NULL,"
+ COL_QUEST_COMPLETED + " TEXT "
+ ")";
Original comment by shaheen....@gmail.com
on 4 Mar 2015 at 5:16
Created a POJO to keep the data for this object. The quest object also
includes an ArrayList of tasks to represent the tasks that are associated with
the quest.
A Helper object is used to write quest data to the database and to read quest
data from the database.
Original comment by shaheen....@gmail.com
on 4 Mar 2015 at 5:45
Original issue reported on code.google.com by
shaheen....@gmail.com
on 25 Feb 2015 at 8:01