Page 1 of 1

Retrieve location in any way

Posted: 05 Feb 2017 19:45
by fagci
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

Re: Retrieve location in any way

Posted: 09 Feb 2017 13:50
by fagci
Maybe, Location trigger is the best solution, because Last known location returns too old location...