Since theres no real thread for Location APIs I’ll just post my question here and maybe get more people interested in this side of CoronaSDK.
I’ve been playing around with maps and gps for a day or so and it seems like everyone is using Corona for Games 99% so I thought I’d dig into the other aspects of Corona.
So here’s an idea I just go;
What if you made a map/gps app that it’s main purpose is to clock the time you are at a certain position (within a Proximity of you starting position)
So let’s say you arrive to a…construction site and you are there to do some work during the day. When you launch the app at the construction site you press the start button that will locate your position and when it’s ready a timer starts to monitor the time you are at that position.
Now, the gps will check your movement so if you would go outside a certain radius the timer will pause and resume when you return to within the radius of your starting position.
So basically it stops when you leave the work site for lunch, run some errands etc etc…
Of course all work places are of different sizes, but this was just in general how and if it would work.
Because Corona have “event.accuracy” the position will not be correct unless there’s a way to set a threshold for that so it would be more precise.
Also Maps use a RuntimeListener, in what interval does that fires off?
There would be a button to stop the timer and positioning that saves the result to a document.
[import]uid: 13560 topic_id: 13132 reply_id: 313132[/import]
[import]uid: 13560 topic_id: 13132 reply_id: 50381[/import]