A
A
Artem Slizov2016-05-21 13:30:04
Android
Artem Slizov, 2016-05-21 13:30:04

How to export a route from your application to a navigator?

I am developing an application for android, it took map navigation. Is it possible and how to do (if possible) so that from my application, by pressing the "lay route" button, I was transferred to the navigator (navitel, google, yandex to any that is installed on the phone)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2016-05-21
@gadfi

if you are talking about launching a navigation application, then yes, additional functionality is more difficult here,
try something like

Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:<lat>,<long>?q=<lat>,<long>(Label+Name)"));
startActivity(intent);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question