Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0

This commit is contained in:
uykek 2020-05-20 14:32:22 +02:00
commit c4136f40d2
3 changed files with 14 additions and 2 deletions

View file

@ -3,8 +3,7 @@
package="org.secuso.privacyfriendlysudoku.ui.view"> package="org.secuso.privacyfriendlysudoku.ui.view">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.INTERNET" />
<application <application
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"

View file

@ -27,6 +27,17 @@ public class DatabaseHelper extends SQLiteOpenHelper {
@Override @Override
public void onCreate(SQLiteDatabase db) { 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); db.execSQL(LevelColumns.SQL_CREATE_ENTRIES);
} }

View file

@ -5,6 +5,8 @@
android:checkableBehavior="all"> android:checkableBehavior="all">
<item android:id="@+id/nav_newgame_main" android:icon="@drawable/ic_menu_home" <item android:id="@+id/nav_newgame_main" android:icon="@drawable/ic_menu_home"
android:title="@string/menu_main" /> 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" <item android:id="@+id/nav_highscore_main" android:icon="@android:drawable/ic_menu_myplaces"
android:title="@string/menu_highscore" /> android:title="@string/menu_highscore" />
<item android:id="@+id/menu_tutorial_main" android:icon="@drawable/ic_school_black_24dp" <item android:id="@+id/menu_tutorial_main" android:icon="@drawable/ic_school_black_24dp"