Dynamically refresh google maps - how?

Post your questions and help other users.

Moderator: Martin

Post Reply
ZSasha
Posts: 103
Joined: 11 Oct 2013 03:48

Dynamically refresh google maps - how?

Post by ZSasha » 05 Jan 2014 11:04

Hello,

does anybody know how to dynamically refresh google maps with a pointer pointing to new coordinates?
Right now it is perfectly possible to open a google maps with your coordinates and comments etc by using intent.
But what if I want to move the pointer, targeting new coordinates every n seconds (to reflect a moving target)? (I have a flow that reports coordinates of the second phone each minute to me)

If I use the same intent - the system asks me what kind of maps application I want to use to handle such intent. (I have a few maps application installed).
What I am trying to achieve is to just move the pointer on a map that has already been opened on a screen.

Thank you.

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

Re: Dynamically refresh google maps - how?

Post by Martin » 06 Jan 2014 17:54

Hi,

Are you starting Google Maps with an action Start Activity? If this is the case you could check Explicit Component and select Google Maps in the package field.

Regards,
Martin

Post Reply