New action: get GPS coordinates.

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
nakedhitman
Posts: 3
Joined: 06 Jun 2013 14:56

New action: get GPS coordinates.

Post by nakedhitman » 06 Jun 2013 15:13

I would love to have the ability to do the following:

On Bluetooth disconnect from car stereo > get GPS coordinates

This way, I can pull up a map if I forget where I park.

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

Re: New action: get GPS coordinates.

Post by Martin » 07 Jun 2013 08:56

Hi,

You can do this with a flow like this:
-trigger Bluetooth Disconnected
-action Init Variable Location: GPS, Timeout XX. Use a high timeout since it might take some time to get a GPS location.
-action Notification on Statusbar: Car is near: {location,locationformat} to show an address

or directly start a maps app:
-action Start Activity, set the field Action to android.intent.action.VIEW (the default) and field Data URI to geo:{location}

Regards,
Martin

nakedhitman
Posts: 3
Joined: 06 Jun 2013 14:56

Re: New action: get GPS coordinates.

Post by nakedhitman » 07 Jun 2013 17:43

Thanks! I'll try that.

lucasjs33
Posts: 9
Joined: 20 Jun 2013 23:24

Re: New action: get GPS coordinates.

Post by lucasjs33 » 21 Jun 2013 10:52

the other day create a post related to the topic i try the same but it does not work ....

http://automagic4android.com/forum/view ... f=5&t=2114

Locked