OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

API to call OruxMaps

View previous topic View next topic Go down

API to call OruxMaps

Post  jonny-blue on Fri Oct 12, 2012 7:46 pm

Hi Orux,
I use CacheSense for geocaching ... and OruxMaps for hiking.
Within the newest Beta CacheSense offers a new feature: Call an extern program with the coordinates of a cache.

I tried to call OruxMaps (which is offered in the dialog box) and OruxMaps is opened ... but the arriving coordinates are corrupt. Sad

I asked the developer of CS and he said that he is using the following method (and normaly that should work):

"It is using a standard Intent:
CODE: SELECT ALL
android.content.Intent.ACTION_VIEW

with this URI:
CODE: SELECT ALL
geo:-42.854767,173.306733?z=16
There is some documentation here: http://developer.android.com/guide/appendix/g-app-intents.html "


Any idea?

Would be cool to have both apps so near together ... Cool

jonny-blue

Cantidad de envíos : 28
Fecha de inscripción : 2011-08-03
Localización : Germany

View user profile

Back to top Go down

Re: API to call OruxMaps

Post  orux on Mon Oct 15, 2012 4:47 pm

jonny-blue wrote:Hi Orux,
I use CacheSense for geocaching ... and OruxMaps for hiking.
Within the newest Beta CacheSense offers a new feature: Call an extern program with the coordinates of a cache.

I tried to call OruxMaps (which is offered in the dialog box) and OruxMaps is opened ... but the arriving coordinates are corrupt. Sad

I asked the developer of CS and he said that he is using the following method (and normaly that should work):

"It is using a standard Intent:
CODE: SELECT ALL
android.content.Intent.ACTION_VIEW

with this URI:
CODE: SELECT ALL
geo:-42.854767,173.306733?z=16
There is some documentation here: http://developer.android.com/guide/appendix/g-app-intents.html "


Any idea?

Would be cool to have both apps so near together ... Cool

Hello, thanks;

You are right, OruxMaps is not parsing well those uris;

Next beta will work fine with 'geo' uris,-->www.oruxmaps.com/cs

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE

orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum