Here\'s my code:
String CREATE_DATABASE = \"CREATE TABLE \" + TABLE_NAME + \"(\" +
KEY_ID + \" INTEGER PRIMARY KEY AUTOINCREMENT, \" +
Try this code in your onCreate method.
Code To Replace: String CREATE_DATABASE = "CREATE TABLE "+TABLE_NAME+ " ( "+KEY_ID+" INTEGER PRIMARY KEY, "+KEY_TITLE+"TEXT, "+KEY_AUTHOR+"TEXT, "+KEY_STATE+"TEXT )"; db.execSQL(CREATE_DATABASE);