Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

How to launch device's native navigation app?

Hello

I ave an app that displays a map using the Google map component. It displays multiple markers that are dynamically generated. When the user selects a marker, I can get the lat/long/address associated with the marker and display this information in various label/button components, etc. At this point I would like the user to be able to launch the native navigation app of the device to navigate to the selected marker. How do I do that?

Please note I am not interested in getting the directions to the marker, as in your tutorial at http://docs.tiggzi.com/tutorials/#Goo...
I am more interested in invoking GPS navigation from the device, once I have the geolocation of the device and the destination information.

Thanks

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How to launch device's native navigation app?

Hi - I'm not really understand what do you mean by that: "...user to be able to launch the native navigation app of the device..."?

And what kind of app you're building? Web App or a native App for Android/iOS?

Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

How to launch device's native navigation app?

Native app for Android.

For example if you have a database of store locations and your app displays those stores on a map. Then once the user picks a store, you want to let them use their navigation app to navigate to that location. How would I invoke the navigation app from within my app, and ask it to provide directions to the store?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How to launch device's native navigation app?

It's not so simple as it looks, for Android there is no standard Intent URI for navigation.

Maybe this could give you some direction: http://datamoil.blogspot.com/2011/04/...

But we'll seek for a solution and update.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to launch device's native navigation app?

Hi,

You can use link in format:
codegeo:..../code
Find more here:
http://developer.android.com/guide/ap...
https://groups.google.com/forum/?from...

Slang
Posts: 0
Joined: Mon Dec 10, 2012 6:53 am

How to launch device's native navigation app?

Thanks, that works

Return to “Issues”