ユーザー名とパスワードの値を格納する行が 1 つしかない sqlite データベースを作成するにはどうすればよいですか。追加のデータを追加しようとするたびに、アプリケーションは許可されません。
public void onCreate(SQLiteDatabase db) {
// TODO Auto-generated method stub
String sqlDataStore = "create table if not exists " +
DATABASE_NAME + " ("+ BaseColumns._ID + " integer primary key autoincrement,"
+ COLUMN_USER + " text not null,"
+ COLUMN_CODE + " text not null);";
db.execSQL(sqlDataStore);
}