I haven't found a clear answer to this... how do I use the GPS on a non-main page with B4Xpages?
So far, I have the GPS working and giving me position updates on the main/first page. When I go to a second screen, I need the GPS to keep capturing position, so I can calculate distance and update it on the second page.
Is there an example someone that shows how to do this?
Oh, so the LocationChanged function will still get called on the first page? In that case I should be able to keep calculating the distance in that function and save to a public variable so I can read it in the second screen class. I'll need to experiment. Thanks.