¡@

Home 

2014/10/16 ¤W¤È 08:25:36

android Programming Glossary: table_config

Android SQLLite MultiTable Database Development

http://stackoverflow.com/questions/19624946/android-sqllite-multitable-database-development

Config table name private static final String TABLE_CONFIG Config Config Table Columns names private static final String.. SQLiteDatabase db String CREATE_CONFIG_TABLE CREATE TABLE TABLE_CONFIG KEY_ID INTEGER PRIMARY KEY KEY_VERSION TEXT KEY_PRO_KEY TEXT.. older table if existed db.execSQL DROP TABLE IF EXISTS TABLE_CONFIG Create tables again onCreate db All CRUD Create Read Update..

Android SQLLite MultiTable Database Development

http://stackoverflow.com/questions/19624946/android-sqllite-multitable-database-development

Database Name private static final String DATABASE_NAME AndroidSQLLiteDB Config table name private static final String TABLE_CONFIG Config Config Table Columns names private static final String KEY_ID id private static final String KEY_VERSION Version.. Creating Tables @Override public void onCreate SQLiteDatabase db String CREATE_CONFIG_TABLE CREATE TABLE TABLE_CONFIG KEY_ID INTEGER PRIMARY KEY KEY_VERSION TEXT KEY_PRO_KEY TEXT KEY_SERVERID TEXT KEY_SERVERID_ALT TEXT KEY_CURRENT_BAG_ID.. onUpgrade SQLiteDatabase db int oldVersion int newVersion Drop older table if existed db.execSQL DROP TABLE IF EXISTS TABLE_CONFIG Create tables again onCreate db All CRUD Create Read Update Delete Operations Adding new config int addConfig Config config..