GPS Listener in a thread?

Hello there,

I have built an app which calls a GPS function

1
Runtime:addEventListener( "location", locationHandler )

Runtime events keep running until you remove them so you could keep all the data received by the GPS event on global variables you can access from any screen. I hope that helps.

Andre

Hi Andre,

Thanks for your reply.

I shall have a look at global variables, but I can see where you are coming from.

I am trying to write my first app with Corona, so I expect to b e asking loads of noob & silly questions!!

Thankyou

Robin

views:1489 update:2011/9/28 9:01:40
corona forums © 2003-2011