From 96b88a398c0d28517e4cbcc0a6ae12b6a91e7c40 Mon Sep 17 00:00:00 2001 From: Daniele Date: Thu, 30 Sep 2021 20:52:09 +0200 Subject: [PATCH] WIP accepting generic intents with geo:// uri --- .idea/deploymentTargetDropDown.xml | 17 +++++++++++++++ README.md | 2 -- app/src/main/AndroidManifest.xml | 12 ++++++++++- .../detail/GeofavoriteDetailActivity.java | 16 ++++++++++++-- .../nextcloudmaps/utils/GeoUriParser.java | 21 +++++++++++++++++++ app/src/main/res/values/strings.xml | 1 + 6 files changed, 64 insertions(+), 5 deletions(-) create mode 100644 .idea/deploymentTargetDropDown.xml create mode 100644 app/src/main/java/it/danieleverducci/nextcloudmaps/utils/GeoUriParser.java diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..10fc192 --- /dev/null +++ b/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index db08193..278ef23 100644 --- a/README.md +++ b/README.md @@ -17,5 +17,3 @@ This work is heavily based on [matiasdelellis's Nextcloud SSO example](https://g ![Screenshot 1](screenshots/1.png) ![Screenshot 1](screenshots/2.png) -Download it from [the releases page](https://github.com/penguin86/nextcloud-maps-client/releases) - diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d35538f..a919fe8 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -50,7 +50,17 @@ + android:theme="@style/AppTheme"> + + + + + + + + + + Location permission is required to create a geofavorite. Save Unable to save geofavorite + Unable to obtain coordinates from shared data Geofavorite saved Incomplete geofavorite: Name and category are mandatory