From 1b1ce941db7bfd1ce69b3bea2c00a70c5d63d7f2 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 7 Sep 2019 13:50:55 +0200 Subject: [PATCH] more exams --- .../objectives/objectives/Objective2.java | 33 +++++++++++++++++++ app/src/main/res/values/exam.xml | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java index 61c92a1de0..f2de62c770 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/objectives/objectives/Objective2.java @@ -77,6 +77,39 @@ public class Objective2 extends Objective { .option(new Option(R.string.basaltest_havingregularhyper, true)) .hint(new Hint(R.string.basaltest_hint1)) ); + tasks.add(new ExamTask(R.string.prerequisites, R.string.prerequisites_what, "prerequisites") + .option(new Option(R.string.prerequisites_determinedcorrectprofile, true)) + .option(new Option(R.string.prerequisites_computer, true)) + .option(new Option(R.string.prerequisites_phone, true)) + .option(new Option(R.string.prerequisites_car, false)) + .option(new Option(R.string.prerequisites_nightscout, true)) + .option(new Option(R.string.prerequisites_tidepoolaccount, false)) + .option(new Option(R.string.prerequisites_googleaccount, false)) + .option(new Option(R.string.prerequisites_githubaccount, false)) + .option(new Option(R.string.prerequisites_beanandroiddeveloper, false)) + .option(new Option(R.string.prerequisites_own670g, false)) + .option(new Option(R.string.prerequisites_smartwatch, false)) + .option(new Option(R.string.prerequisites_supportedcgm, true)) + .hint(new Hint(R.string.prerequisites_hint1)) + ); + tasks.add(new ExamTask(R.string.update_update, R.string.whatistrue,"update") + .option(new Option(R.string.update_git, true)) + .option(new Option(R.string.update_asap, true)) + .option(new Option(R.string.update_keys, true)) + .option(new Option(R.string.update_neverupdate, false)) + .option(new Option(R.string.update_askfriend, false)) + .hint(new Hint(R.string.update_hint1)) + ); + tasks.add(new ExamTask(R.string.troubleshooting, R.string.troubleshooting_wheretoask,"troubleshooting") + .option(new Option(R.string.troubleshooting_fb, true)) + .option(new Option(R.string.troubleshooting_wiki, true)) + .option(new Option(R.string.troubleshooting_gitter, true)) + .option(new Option(R.string.troubleshooting_googlesupport, false)) + .option(new Option(R.string.troubleshooting_yourendo, false)) + .hint(new Hint(R.string.troubleshooting_hint1)) + .hint(new Hint(R.string.troubleshooting_hint2)) + .hint(new Hint(R.string.troubleshooting_hint3)) + ); for (Task task : tasks) Collections.shuffle(((ExamTask)task).options); diff --git a/app/src/main/res/values/exam.xml b/app/src/main/res/values/exam.xml index 5c4bd4c8a5..f1272d4a65 100644 --- a/app/src/main/res/values/exam.xml +++ b/app/src/main/res/values/exam.xml @@ -56,5 +56,38 @@ When having regular hypos When having regular hypers https://androidaps.readthedocs.io/en/latest/EN/Getting-Started/FAQ.html#androidaps-settings + Prerequisites + What do I need? + Determined correct profile (Basals, IC, ISF, DIA) + Computer to create an APK + Supported phone + Car + Nightscout to pass objectives + Tidepool account + Google account + Github account + To be an Android developer + Own a 670g pump + https://androidaps.readthedocs.io/en/latest/EN/Module/module.html + Smartwatch + Supported CGM + Updating of AndroidAPS + What is true? + You need to have Git installed + Update as soon as new version is released + Use the same signing keys + Never update if system is working well + Ask your friend for new APK + https://androidaps.readthedocs.io/en/latest/EN/Installing-AndroidAPS/Update-to-new-version.html#update-to-a-new-version-or-branch + Troubleshooting + Where look for help? + Facebook group + Wiki + Gitter + Google support + Your endo + https://androidaps.readthedocs.io/en/latest/EN/Installing-AndroidAPS/Update-to-new-version.html#troubleshooting + https://www.facebook.com/groups/AndroidAPSUsers/ + https://gitter.im/MilosKozak/AndroidAPS