This repository was archived by the owner on Aug 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
app/src/main/java/com/snatik/matches/common Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -109,35 +109,6 @@ public int getBestTimeForStage(int theme, int difficulty) {
109
109
}
110
110
}
111
111
112
-
113
- /*public String checkForTable () {
114
-
115
- String result = null;
116
- SQLiteDatabase db = getWritableDatabase();
117
-
118
- String query = "SELECT name FROM sqlite_master WHERE type = 'table' AND name = " + TABLE_NAME + ";";
119
- db.execSQL(query);
120
- Cursor c = db.rawQuery(query,null);
121
- c.moveToFirst();
122
- if (c != null) {
123
- result = c.getString(c.getColumnIndex("name"));
124
- }
125
-
126
- db.close();
127
- return result;
128
- } */
129
-
130
- /*public String insertValues() {
131
- SQLiteDatabase db = getWritableDatabase();
132
- String query = "INSERT INTO " + TABLE_NAME +" VALUES (20, 2, 4);";
133
- db.execSQL(query);
134
- System.out.println("VALUES INSERTED ! ! ! !");
135
- String query1 = "SELECT " + COLUMN_THEME + " FROM " + TABLE_NAME + " WHERE " + COLUMN_DIFFICULTY + " = 4;";
136
- Cursor c = db.rawQuery(query1,null);
137
- c.moveToFirst();
138
- return c.getString(c.getColumnIndex(COLUMN_THEME));
139
- } */
140
-
141
112
@ Override public void onUpgrade (SQLiteDatabase sqLiteDatabase , int i , int i1 ) {
142
113
143
114
System .out .println ("HI" );
You can’t perform that action at this time.
0 commit comments