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 16:33 schreef 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
<use-livecode@lists.runrev.com> wrote:
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 integrated.
Op 25-4-2020 om 14:07 schreef 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 sensors are
functioning. This is made clear to the user by a display.
I want to do this in my LC iOS app, specifically for the GPS. I know how to
start the location function on the device and I know how to handle the position
via ‘locationChanged' and/or ‘mobileCurrentLocation', and these work. The big
problem is at the start of such a sequence. I can use 'mobileStartTracking
Sensor “location” ’ to get going, but experience shows that this takes an
unpredictable amount of time, sometimes of the order of seconds. You would
think that the locationChanged messages wouldn’t start firing until the start
tracking process had done its job, but it seems this is not so, and nonsense
locations can appear at the beginning of the sequence. At least that’s my
experience.
I am loth to use a loop to see if the tracking is really started and legit, and
anyhow this would be problematical if my app was being inundated with
‘locationChanged' messages while the loop is running.
Has anyone any experience of this issue? As usual, I feel I’m missing
something. Perhaps the ‘trackingError’ message might help, but I don’t see how.
Graham
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode