Android Open Source - droidfest-todolist Db Config






From Project

Back to project page droidfest-todolist.

License

The source code is released under:

MIT License

If you think the Android project droidfest-todolist listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.intouchapp.todolistapp.database;
//from   ww w  .  j av  a2  s  . co m
/**
 * Database configuration class
 *
 * @author Niket
 */

public class DbConfig {
    public static String DATABASE_NAME = "todolist.db";
    public static int DATABASE_VERSION = 1;

    // Store the surveys into the table
    public static final String TABLE_TODO = "table_todo";

    public static final String COL_ID = "_id";
    public static final String COL_DATA = "data";

    public static final String CREATE_TABLE_SURVEYS = "CREATE TABLE IF NOT EXISTS " + TABLE_TODO + " (" +
            COL_ID + " INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, " +
            COL_DATA + " TEXT NOT NULL);";
}




Java Source Code List

com.abc.todolistapp.ApplicationTest.java
com.intouchapp.todolistapp.activities.MainActivity.java
com.intouchapp.todolistapp.adapters.TodoListAdapter.java
com.intouchapp.todolistapp.database.DbConfig.java
com.intouchapp.todolistapp.database.DbHelper.java
com.intouchapp.todolistapp.database.DbManager.java
com.intouchapp.todolistapp.fragments.TodoListFragment.java
com.intouchapp.todolistapp.miscell.Constants.java
com.intouchapp.todolistapp.models.TodoItem.java