"one click" start navigation

Post your questions and help other users.

Moderator: Martin

Post Reply
akapelis
Posts: 41
Joined: 13 Jul 2016 20:51

"one click" start navigation

Post by akapelis » 13 May 2017 23:16

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: "one click" start navigation

Post by Martin » 14 May 2017 19:07

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

akapelis
Posts: 41
Joined: 13 Jul 2016 20:51

Re: "one click" start navigation

Post by akapelis » 14 May 2017 19:47

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! ;)

Post Reply