Closed norrinr closed 5 years ago
This. Glad someone else wanted this too!
Closed just because old?
I closed all old issues, because since 2016 there are new versions of pocketmaps.
Does anyone know more about such a geo-link and how does this work technically?
Note, that there are actually 2 pocketmaps apps on google-play, so you have maybe to reinstall the app to get version 2.0 (starcommander). Or you can install the app from fdroid.
It seems to have to do with RFC5870 https://en.wikipedia.org/wiki/Geo_URI_scheme
For the manifest:
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="geo"/>
</intent-filter>
There is also a google.navigation scheme: https://stackoverflow.com/questions/4369012/android-intent-filter-for-geo-uri#4392898 https://github.com/osmandapp/Osmand/blob/master/OsmAnd/AndroidManifest.xml
I would like to add: Use the adress from the adress-book. If i integrate an adress there for a contact, i would like to find a way fast. It seems like its complicated to integrate due different adress-schemes in different countrys.
To deal with that, my suggestions would be:
And everybody can choose if he wants to do this or not.
Available in next version 2.3
Tried it with version 2.7 from F-Droid and it said Error getting input: input uri has no parameters!
Trying to click from AddressToGPS (Simple address/POI search) - https://f-droid.org/app/me.danielbarnett.addresstogps
It works at least with calendar app on my device. I will try it with your AddressToGps-App as I have the time.
Unfortunately the app AddressToGps does not work anymore because of this issue: https://github.com/DanielBarnett714/AddressToGPS/issues/13 So I can not test the behaviour. But it is possible to search a location via pocketmaps directly.
I was able to reproduce the issue. Just select a geo-link from the Website inside of the Android Web-Browser: https://en.wikipedia.org/wiki/Geo_URI_scheme
Fixed in V2.8
After upgrading to 2.9 from F-Droid, I can send locations from AddressToGPS II. Thank you!
It would be nice if I could share a location with PocketMaps. I realize that it wouldn't do an address yet, but maybe coordinates from another map site page.
Also, it might be a geo: link, but when I use AddressToGPS and it finds some coordinates for me, there's an option to "navigate to" the location. PocketMaps does not come up in the list to open the link with, but ZANavi does. It would be nice if it opened up the location in PocketMaps and pre-filled the nav start/dest fields with current location (if avail) and the location that was shared/linked.