From 2a92374f12b532f55aed9a05e3c6899f6e24ffa6 Mon Sep 17 00:00:00 2001 From: Erik Waegerle Date: Tue, 19 May 2020 21:50:23 +0200 Subject: [PATCH 1/3] removed not necessary permisson --- app/src/main/AndroidManifest.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index fb20384..c929de3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,8 +3,7 @@ package="org.secuso.privacyfriendlysudoku.ui.view"> - - + Date: Wed, 20 May 2020 12:32:41 +0200 Subject: [PATCH 2/3] The database will be extended by DailySudokus. A new table was created for this purpose --- .../controller/database/DatabaseHelper.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/database/DatabaseHelper.java b/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/database/DatabaseHelper.java index 85dd131..27041b4 100644 --- a/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/database/DatabaseHelper.java +++ b/app/src/main/java/org/secuso/privacyfriendlysudoku/controller/database/DatabaseHelper.java @@ -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); } From 6dbf66cb7f2d285d230e0e2b7cbaf16da6922d74 Mon Sep 17 00:00:00 2001 From: Erik Waegerle Date: Wed, 20 May 2020 12:45:21 +0200 Subject: [PATCH 3/3] The menu item Daily Sudoku was added to the navigation drawer --- app/src/main/res/menu/menu_drawer_main.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/menu/menu_drawer_main.xml b/app/src/main/res/menu/menu_drawer_main.xml index e4dd2f1..065b116 100644 --- a/app/src/main/res/menu/menu_drawer_main.xml +++ b/app/src/main/res/menu/menu_drawer_main.xml @@ -5,6 +5,8 @@ android:checkableBehavior="all"> +