Location info.

Post your questions and help other users.

Moderator: Martin

Post Reply
apshergill91
Posts: 18
Joined: 07 Dec 2013 05:59

Location info.

Post by apshergill91 » 20 Jan 2014 10:51

Location data can be obtained in 2 ways.
1. Precise location using in built GPS.
2. Coarse Location without GPS with help of mobile network location.

How do I obtain coarse location data?

Which action can be used to obtain Coarse Location?

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

Re: Location info.

Post by Martin » 20 Jan 2014 19:30

Hi,

You can request a new coarse location in a flow with action Init Variable Location with provider Network. There are also some experimental providers like Low Power and Balanced Power/Accuracy available to determine your location with the new Google services methods.
You can also use the trigger Periodic Location Update to execute a flow periodically with a coarse location.

Regards,
Martin

jab0321
Posts: 8
Joined: 20 Jun 2014 16:03

Re: Location info.

Post by jab0321 » 01 Jul 2014 20:18

Quick question on the "Init variable location". Is it necessary to add a "sleep" action after an "Init variable location" action to allow the location to be determined or will the flow automatically pause until the location is found before continuing on?

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

Re: Location info.

Post by Martin » 07 Jul 2014 07:54

The action should wait so that the location variable is up to date when the flow continues with the next action.

Post Reply