Simulate location events by dispatching them

I’m building an application that uses GPS. Currently, the simulator only fires the location event once and I don’t even know if its possible to change the coordinates it uses.

What I’d like is to be able to simulate location events by dispatching them from the runtime:

[lua]Runtime:dispatchEvent(‘location’, {latitude=0, logitude=0})[/lua] [import]uid: 52771 topic_id: 18238 reply_id: 318238[/import]

Hello izamojc,
If you are using location events in your code then you might be interested in Corona Ultimote. We have a macro playback feature that you will be interested in that you can try out for free. Basically we recorded GPS events using our app while driving out for lunch and you can play back these apps with frame by frame precision. Download the demo from
http://www.mygamedevelopers.com/Corona-Ultimote.html
Once you get it extract the files and run the GPS demo and you will see what we mean.

Thanks for your interest,
M.Y. Developers [import]uid: 55057 topic_id: 18238 reply_id: 69772[/import]