diff --git a/app/src/main/java/com/jens/automation2/PointOfInterest.java b/app/src/main/java/com/jens/automation2/PointOfInterest.java index 5f1b0ec..c9e5f7e 100644 --- a/app/src/main/java/com/jens/automation2/PointOfInterest.java +++ b/app/src/main/java/com/jens/automation2/PointOfInterest.java @@ -491,9 +491,17 @@ public class PointOfInterest implements Comparable AutomationService service = AutomationService.getInstance(); if (service != null) { - service.applySettingsAndRules(); - //Easiest way to check for changes in location, reset the last known location. - service.getLocationProvider().setCurrentLocation(service.getLocationProvider().getCurrentLocation(), true); + try + { + service.applySettingsAndRules(); + //Easiest way to check for changes in location, reset the last known location. + service.getLocationProvider().setCurrentLocation(service.getLocationProvider().getCurrentLocation(), true); + } + catch(Exception e) + { + // Just log the event. This should not cause an interruption in the program flow. + Miscellaneous.logEvent("e", "save POI", "Error when trying to apply settings and rules: " + Log.getStackTraceString(e), 2); + } } return true; @@ -530,14 +538,18 @@ public class PointOfInterest implements Comparable PointOfInterest.writePoisToFile(); AutomationService service = AutomationService.getInstance(); - if(service != null) + + try { service.applySettingsAndRules(); - //Easiest way to check for changes in location, reset the last known location. service.getLocationProvider().setCurrentLocation(service.getLocationProvider().getCurrentLocation(), true); } - + catch(Exception e) + { + // Just log the event. This should not cause an interruption in the program flow. + Miscellaneous.logEvent("e", "save POI", "Error when trying to apply settings and rules: " + Log.getStackTraceString(e), 2); + } return true; } diff --git a/app/src/main/res/drawable-hdpi/gear.png b/app/src/main/res/drawable-hdpi/gear.png index 8689dc0..df375c0 100644 Binary files a/app/src/main/res/drawable-hdpi/gear.png and b/app/src/main/res/drawable-hdpi/gear.png differ diff --git a/app/src/main/res/drawable-hdpi/home.png b/app/src/main/res/drawable-hdpi/home.png index 02b0007..0ab5cca 100644 Binary files a/app/src/main/res/drawable-hdpi/home.png and b/app/src/main/res/drawable-hdpi/home.png differ diff --git a/app/src/main/res/drawable-hdpi/map.png b/app/src/main/res/drawable-hdpi/map.png index 1e7e97e..c701c73 100644 Binary files a/app/src/main/res/drawable-hdpi/map.png and b/app/src/main/res/drawable-hdpi/map.png differ diff --git a/app/src/main/res/drawable-hdpi/sound.png b/app/src/main/res/drawable-hdpi/sound.png index f6f4ac3..3f1a4ad 100644 Binary files a/app/src/main/res/drawable-hdpi/sound.png and b/app/src/main/res/drawable-hdpi/sound.png differ diff --git a/app/src/main/res/layout/main_tab_layout.xml b/app/src/main/res/layout/main_tab_layout.xml index 5336506..39c1288 100644 --- a/app/src/main/res/layout/main_tab_layout.xml +++ b/app/src/main/res/layout/main_tab_layout.xml @@ -1,19 +1,19 @@ + android:layout_width="match_parent" + android:layout_height="match_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"/> \ No newline at end of file diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 2928300..960dd83 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -540,7 +540,7 @@ Orte anlegen oder ändern veröffentlicht am Automation benutzt jetzt ein anderes Verzeichnis, um Ihre Daten zu speichern. Alle Ihre Automation-Dateien wurden hierhin verschoben: \"%s\". Die Berechtigung für den externen Speicher wird nun nicht mehr benötigt; Sie können Sie entfernen. In einer künftigen Version wird sie entfernt werden. - Die Position kann nicht mehr bestimmt werden. + Die Position kann nicht mehr im Hintergrund bestimmt werden. Klicken Sie hier für mehr Infos. Leider kann die Position nicht mehr bestimmt werden. Großer Dank dafür geht an Google für seine unendliche Weisheit und Großzügigkeit.\\n\\nBeginnend mit Android 10 wurde eine neue Berechtigung eingeführt, die benötigt wird, um als App die Position auch im Hintergrund bestimmen zu können, was, für eine App wie diese, natürlich notwendig ist.\\n\\nWährend ich das grundsätzlich für eine gute Idee halte, gilt das nicht für die Schikanen, die man Entwicklern damit zumutet.\\n\\nWenn man eine App entwickelt, kann man versuchen sich für diese Berechtigung zu qualifizieren, indem man einen Katalog von Bedingungen erfüllt. Leider wurden neue Versionen meiner Anwendung über einen Zeitraum von drei Monaten immer wieder abgelehnt.\\n\\nDas lief auf die immer gleiche Art ab:\\n\\nIch habe eine neue Version eingereicht, die all diese Anforderungen erfüllt hat.\\n\\nGoogles miserabler Entwickler-Support behauptete ich würde sie nicht einhalten.\\n\\nIch habe Beweise geliefert, daß ich alles einhalte.
Ich bekam eine Antwort wie "Ich kann Ihnen nicht weiterhelfen.\\n\\nIrgendwann habe ich aufgegeben.\\n\\nDie Folge davon ist nun, daß die Google Play Version keine Positionsbestimmung mehr im Hintergrund durchführen kann. Meine einzige Alternative wäre es gewesen, daß die ganze Anwendung aus dem Store fliegt.\\n\\nDas tut mir sehr leid, aber ich habe mein Bestes gegeben mit einem Kunden\"dienst\" zu diskutieren, der mehrfach beim Turing-Test durchgefallen ist.\\n\\nDie gute Nachricht: Die Anwendung kann es immer noch!\\n\\nAutomation ist nun Open Source Software und kann ab sofort bei F-Droid heruntergeladen werden. F-Droid ist ein freier Appstore, der Ihre Privatsphäre respektiert - statt nur so zu tun wie Google das macht.\\n\\nSichern Sie Ihre Konfiguratinsdatei, deinstallieren Sie dazu diese Anwendung, installieren sie von F-Droid neu, Konfigurationsdatei zurückspielen und fertig.\\n\\nKlicken Sie hier, um mehr herauszufinden:
Konfigurations- und Logdateien werden hier gespeichert: %1$s. Klicken Sie hier auf diesen Text, um dieses Verzeichnis in einem Datei-Explorer zu öffnen. Leider funktioniert das nur auf gerooteten Geräten.\n\nFür alle anderen Geräte: Benutzen Sie einfach den Export Button, wenn Sie eine Sicherung anlegen wollen. ist gleich diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 0555bde..f322083 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -47,7 +47,7 @@ Regla \"%1$s\" lo necesita. Enviar mensaje SMS Importar número del directorio - Edit + Editar Texto de enviar Contraseña Monstrar en una mapa diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a89d77d..71874c2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -605,7 +605,7 @@ Automation now uses another path to store your files. All your Automation-files have been moved here: \"%s\". The external storage permission is not required anymore; you can revoke it. It will be removed in a future version. Would you like to receive (only important) news about this app on the main screen? Those are downloaded from the developer\'s website. There will be no intrusive notification, just a text on the main screen when you open the app. Location disabled - Location cannot be determined anymore. Click here to find out why. + Location cannot be determined in the background anymore. Click here to find out why. Unfortunately your location cannot be determined anymore. A debt of gratitude is owed to Google for its infinite wisdom and amiableness.\\n\\nLet me explain this further. Starting with Android 10 a new permission was introduced that is needed to determine your location in the background (which of course is required for an app like this). Whilst I consider that a good idea in general the chicanery it involves for developers is not.\\n\\nWhen developing an app you can try to qualify for this permission by abiding to a catalog of requirements. Unfortunately new versions of my app have been rejected over a period of three months. I fulfilled all those requirements, Google\'s shitty development support claimed I would not. After giving them proof that I did after all - I got a response like \"I cannot help you anymore\". Eventually I gave up. \\n\\nAs a consequence the Google Play version can NOT use your location as a trigger anymore. My only alternative option would have been to have this application removed from the store entirely.\\n\\nI\'m very sorry about that, but I\'ve tried my best arguing with a \"support\" that repeatedly failed to pass the Turing test.\\n\\nThe good news: You can still have it all!\\n\\nAutomation is now open source and can be found in F-Droid. That is an app store that really cares about your privacy - rather than just acting like that. Simply backup your config file, uninstall this app, install it again from F-Droid, restore your config file - done.\\n\\nClick here to find out more: Config and log files are stored in folder %1$s. Click on this text to open a file explorer. Unfortunately this will only work on a rooted device.\n\nFOR ALL OTHER DEVICES: Simply use the export button to make a backup. Notification diff --git a/build.gradle b/build.gradle index ea1cd53..996b567 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:4.2.0' + classpath 'com.android.tools.build:gradle:4.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/fastlane/metadata/android/en-US/changelogs/105.txt b/fastlane/metadata/android/en-US/changelogs/105.txt index abc7377..6296dac 100644 --- a/fastlane/metadata/android/en-US/changelogs/105.txt +++ b/fastlane/metadata/android/en-US/changelogs/105.txt @@ -1,3 +1,6 @@ +* SSID for wifi trigger can now be picked from list * Activate wifi tethering doesn't require root anymore -* Italian translation updated -* Spanish translation updated \ No newline at end of file +* PhoneCall trigger significantly enhanced +* Fixed a problem where usage of root permissions wasn't possible +* Spanish translation updated +* Italian translation updated \ No newline at end of file diff --git a/fastlane/metadata/android/it-IT/images/icon.png b/fastlane/metadata/android/it-IT/images/icon.png new file mode 100644 index 0000000..5a2beff Binary files /dev/null and b/fastlane/metadata/android/it-IT/images/icon.png differ diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/1.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/1.png new file mode 100644 index 0000000..d1c7d49 Binary files /dev/null and b/fastlane/metadata/android/it-IT/images/phoneScreenshots/1.png differ diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/2.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/2.png new file mode 100644 index 0000000..f46b765 Binary files /dev/null and b/fastlane/metadata/android/it-IT/images/phoneScreenshots/2.png differ diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/3.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/3.png new file mode 100644 index 0000000..950aeb1 Binary files /dev/null and b/fastlane/metadata/android/it-IT/images/phoneScreenshots/3.png differ diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/4.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/4.png new file mode 100644 index 0000000..9f0ef01 Binary files /dev/null and b/fastlane/metadata/android/it-IT/images/phoneScreenshots/4.png differ