Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
This commit is contained in:
commit
c4136f40d2
3 changed files with 14 additions and 2 deletions
|
@ -3,7 +3,6 @@
|
|||
package="org.secuso.privacyfriendlysudoku.ui.view">
|
||||
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
|
|
|
@ -27,6 +27,17 @@ public class DatabaseHelper extends SQLiteOpenHelper {
|
|||
|
||||
@Override
|
||||
public void onCreate(SQLiteDatabase db) {
|
||||
|
||||
String createTable =
|
||||
"CREATE TABLE DAILYSUDOKU" +
|
||||
"( DATE TEXT PRIMARY KEY " +
|
||||
" , LEVEL_difficulty TEXT " +
|
||||
" , LEVEL_gametype TEXT" +
|
||||
" , LEVEL_time INTEGER " +
|
||||
" , LEVEL_puzzle TEXT" +
|
||||
")"
|
||||
;
|
||||
|
||||
db.execSQL(LevelColumns.SQL_CREATE_ENTRIES);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
android:checkableBehavior="all">
|
||||
<item android:id="@+id/nav_newgame_main" android:icon="@drawable/ic_menu_home"
|
||||
android:title="@string/menu_main" />
|
||||
<item android:id="@+id/nav_dailySudoku_main" android:icon="@drawable/ic_menu_home"
|
||||
android:title="Daily Sudoku" />
|
||||
<item android:id="@+id/nav_highscore_main" android:icon="@android:drawable/ic_menu_myplaces"
|
||||
android:title="@string/menu_highscore" />
|
||||
<item android:id="@+id/menu_tutorial_main" android:icon="@drawable/ic_school_black_24dp"
|
||||
|
|
Loading…
Reference in a new issue