Retrieve location in any way

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
User avatar
fagci
Posts: 80
Joined: 03 Feb 2017 13:06
Location: Novosibirsk, RU
Contact:

Retrieve location in any way

Post by fagci » 05 Feb 2017 19:45

Standalone flow is a part for your big projects.
Goal is to get location in any way to track an object.

Latest location update will be stored in global variable.

Code: Select all

global_last_location_data['loc'] = location;
global_last_location_data['acc'] = location_accuracy;
global_last_location_data['spd'] = location_speed;
global_last_location_data['src'] = location_source;
global_last_location_data['tim'] = getDate();
Update 1: exception handling for last known location.
http://automagic4android.com/flow.php?i ... b8e057c82b

Update 2: track usage of sources while retrieving location.
http://automagic4android.com/flow.php?i ... 527357f6d8
All systems nominal.

User avatar
fagci
Posts: 80
Joined: 03 Feb 2017 13:06
Location: Novosibirsk, RU
Contact:

Re: Retrieve location in any way

Post by fagci » 09 Feb 2017 13:50

Maybe, Location trigger is the best solution, because Last known location returns too old location...
All systems nominal.

Post Reply