Westnordost recently released StreetMeasure which offers the AR-measurement capability previously integrated into StreetComplete.
My Idea would be to take this opportunity to offer AR-measurement in OpenStop with little implementation effort. This section explains how to request a measurement from the app.
Bug Relation
No response
Implementation
My idea for the UI:
Regarding the problem for checking if the user has installed the App, I have the following Ideas:
[With a list of all apps] Show the button to the user if the app is installed
[with intents] Initially show the button. When the user clicks on it, start a activity and listen if a ActivityNotFoundException triggers. If so, tell the user that they need to install StreetMeasure if they want to use this feature. Hide the button from there on and only make a re-check available in the settings
or, even simpler:
[with intents] Just always show the button and tell the user that this feature requires the App StreetMeasure if ActivityNotFoundException triggers
Regarding permissions to read the installed Apps on the users device:
I have an app on my phone called "APK extractor" that also lists all Apps on my phone without needing a special permission
The other possibility would be working with intents, which are always visible to the user and such a vital part of the android system that they do not need special permissions
Idea
Westnordost recently released StreetMeasure which offers the AR-measurement capability previously integrated into StreetComplete.
My Idea would be to take this opportunity to offer AR-measurement in OpenStop with little implementation effort. This section explains how to request a measurement from the app.
Bug Relation
No response
Implementation
My idea for the UI:
Regarding the problem for checking if the user has installed the App, I have the following Ideas:
ActivityNotFoundException
triggers. If so, tell the user that they need to install StreetMeasure if they want to use this feature. Hide the button from there on and only make a re-check available in the settings or, even simpler:ActivityNotFoundException
triggersRegarding permissions to read the installed Apps on the users device:
Additional Info
No response