Page 1 of 1

"one click" start navigation

Posted: 13 May 2017 23:16
by akapelis
Hi friends, I use the "Start activity" action to start google maps and visualize e previously saved place.

Action - android.intent.action.VIEW
Data URI - geo:0,0?q={my_coordinates}({my_place})&z=13
Package name - com.google.android.apps.maps

This action opens google maps and then i have to click on "Go to" button to start navigation.
I would like to start navigating without further clicks, is there some special command, Class name or Extras to add for doing this?

Thank you very much.

Re: "one click" start navigation

Posted: 14 May 2017 19:07
by Martin
Hi,

Action Start Activity has an example named Open Navigation which directly starts navigation.

This page lists some other intents and also explains some options:
https://developers.google.com/maps/docu ... navigation

Regards,
Martin

Re: "one click" start navigation

Posted: 14 May 2017 19:47
by akapelis
Martin wrote:Hi,

Action Start Activity has an example named Open Navigation which directly starts navigation.

This page lists some other intents and also explains some options:
https://developers.google.com/maps/docu ... navigation

Regards,
Martin
Thank you very much Martin, youe app is really really fantastic! ;)