D diego Member Licensed User Longtime User Jun 13, 2011 #1 I've been testing GPS utilities and there's something I don't understand: normally GPS gives you the time every second (every update), but it's not possible to get the time if GPS_LocationChanged event is not raised. Is there any way to show a "GPS clock" in the screen? (in B4PPC there was GetGpsData to ask for data at any time)
I've been testing GPS utilities and there's something I don't understand: normally GPS gives you the time every second (every update), but it's not possible to get the time if GPS_LocationChanged event is not raised. Is there any way to show a "GPS clock" in the screen? (in B4PPC there was GetGpsData to ask for data at any time)
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2011 #2 No. The time is only available inside the LocationChanged event. You can calculate the offset between DateTime.Now and the time you received in the event and then show the time every second using this dynamic offset. Upvote 0
No. The time is only available inside the LocationChanged event. You can calculate the offset between DateTime.Now and the time you received in the event and then show the time every second using this dynamic offset.
D diego Member Licensed User Longtime User Jun 13, 2011 #3 OK, it seems a good solution, I'll try it. thank you! Upvote 0