Re: Detecting full Mobile Sensor activation

2020-04-26 Thread Alan Stenhouse via use-livecode
Hi Graham So, how do you define a "meaningful" GPS signal? The GPS data you'll receive from locationChanged messages may have nothing for 1-n messages at the start, followed by an increasingly accurate number of messages (as measured by the "horizontal accuracy" and/or "vertical accuracy"

Re: Detecting full Mobile Sensor activation

2020-04-26 Thread Graham Samuel via use-livecode
Alan, thanks for your two messages. II’m doing most of what you suggest (not using accuracy so far, but the prudent person probably should do!), but nevertheless I would like to emulate my fitness app example. I have apps that positively know when they have acquired a meaningful GPS signal,

Re: Detecting full Mobile Sensor activation

2020-04-25 Thread Alan via use-livecode
Hi again Graham Another option is to indicate visually the uncertainty of the location reading on the map display as some apps do, e,g. with a translucent circle whose radius indicates the horizontal (in)accuracy. cheers Alan > On 26 Apr 2020, at 10:17 am, Alan Stenhouse wrote: > > Hi

Re: Detecting full Mobile Sensor activation

2020-04-25 Thread Alan Stenhouse via use-livecode
Hi Graham Some ideas, from experience: 1. Start your sensor on openStack or as soon as possible. 2. Ignore locationChanged messages with empty location or if "horizontal accuracy" is outside a threshold of x metres. 3. Just set a flag or other mechanism when you want to start and stop

Re: Detecting full Mobile Sensor activation

2020-04-25 Thread JeeJeeStudio via use-livecode
I did not try the GPS functions yet, although i had an idea a few years ago, but that's already available. It was to track your own kid with their mobile phone, so it would always send out the location, so you know as a parent where he/she is. Hope you solve your issue. Op 25-4-2020 om

Re: Detecting full Mobile Sensor activation

2020-04-25 Thread Graham Samuel via use-livecode
I do sympathise. I would love a more comprehensive system of sensor acquisition - but right now I’m just trying to cope with the GPS start up issue. Bluetooth and all that is further away from me. Graham > On 25 Apr 2020, at 16:20, JeeJeeStudio via use-livecode > wrote: > > Some apps even

Re: Detecting full Mobile Sensor activation

2020-04-25 Thread JeeJeeStudio via use-livecode
Some apps even measure the heartbeat via the camera and turn on the cameralight. I don't know how we could do that in LC. Even for barcode reader the camera light would be convenient for dark spaces, i added a feature request, but it's hibernated. Who knows how long it takes before it gets

Detecting full Mobile Sensor activation

2020-04-25 Thread Graham Samuel via use-livecode
Typical fitness apps (such as iCardio by FitDigits) can read various sensors including a Heart Rate Monitor via Bluetooth, and one’s location via inbuilt GPS. When you start an activity like a run or a workout, the app goes through an acquisition phase, and won’t start recording until the