Greetings,
I'm working on an app that will tell me how long a vehicle has been driving and standing still based on GPS info on and android device.
So far for reading the GPS I have not been able to find an eventhandler that will let me read the GPS while standing still
When using the LocationManager.RequestLocationUpdates in Android, I can use the OnLocationChanged to time the driving time, but I need to start a new timer when parked up, and new info on the screen...
Everywhere I've looked for info (Yes, googled) I get referred back to OnLocationchanged. I need something like that, but then OnSameLocation
I could set 0 seconds and 0 distance when using RequestLocationUpdates (didn't try, but it should always call OnLocationChanged as the update distance is 0), but I'm just wondering If there is another way of doing this
Any help please??
thanks,
BBB