Getting target from other App

106 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Gotthard Friedrich

nieprzeczytany,
7 kwi 2013, 15:17:127.04.2013
do osm...@googlegroups.com
Dear all,

My Geocaching App can call up an outside program for routing to the target - works with Google Maps and Navigon. But actually I would like to use Osmand for offline routing
Does Osmand have this possibility?
What would the Geocaching App need to call the right interface?

Thanks for your help

Gotthard

Victor Shcherb

nieprzeczytany,
7 kwi 2013, 15:40:037.04.2013
do osmand
Hi,

For now it is not possible but we can make it working. It would be awesome, if you could make simple pull request with Intent to MapActivity calling this function https://github.com/osmandapp/Osmand/blob/master/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java#L519 or a stub function for example.



Best Regards,
Victor



Gotthard

--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Gotthard Friedrich

nieprzeczytany,
8 kwi 2013, 19:04:308.04.2013
do osm...@googlegroups.com
Hi,

I am sending this to the developers of the geocaching app - hopefully they can adopt or send you the call that google maps and navigon is acting on...

Best regards,

Gotthard

http://forum.geoclub.de/viewtopic.php?f=114&t=69253&p=1087157#p1087157

Gotthard Friedrich

nieprzeczytany,
14 kwi 2013, 15:32:5814.04.2013
do osm...@googlegroups.com
Hi,

Did a little research myself.

Cache box calls an URL like
https://maps.google.com/maps?daddr=50.14655,8.9161

The Android manifest of cache box states a reaction on certain URLs
<activity android:name="splash">
31 <intent-filter>
32 <action android:name="android.intent.action.VIEW" />
33 <category android:name="android.intent.category.DEFAULT" />
34 <category android:name="android.intent.category.BROWSABLE" />
35 <data android:scheme="http" android:host="coord.info"
36 android:pathPrefix="/GC" />
37 </intent-filter>

Would that be possible

Best regards


Gotthard

Victor Shcherb

nieprzeczytany,
14 kwi 2013, 16:41:5114.04.2013
do osmand
That could be possible, why not. Just a small explanation why it is needed would be good.

Victor




Gotthard

Gotthard Friedrich

nieprzeczytany,
18 kwi 2013, 15:30:3218.04.2013
do osm...@googlegroups.com
Hi,
I am using cachebox for geocaching. They have a functionality to send the location of the cache to a routing software (the code that I posted). When they are using this mechanism others might as well... and so psmand would be the receiver as it is for adress data...
Best regards
Gotthard

Victor Shcherb

nieprzeczytany,
18 kwi 2013, 18:34:5518.04.2013
do osmand
Nice!


Gotthard

jGda

nieprzeczytany,
24 kwi 2013, 16:40:0424.04.2013
do osm...@googlegroups.com
Hi,
Thanks for looking into my little request.
I am using release build 131 and I am able to choose Osmand as the target for the routing request from cache box.
Unfortunately Then there is an error message for address search with offline data.
What is there that I can send you for better locating the big?
Best regards,
Gotthard
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0