I'm developing an android application which deals with location co-ordinates capturing with gps.
I'm also getting the location details which is last known(via "locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER
");
It works correctly. But again I need to check it. I need to clear already captured locations manually then again i need to check it.
Is there is any way to clear the location details which is already captured from android device manually(like goto settings menu and do other process).
I'm using android device which having the sdk>=android2.2.
All your ideas are welcome.
Well please try the following link, it might help:
Link to solution
Detail: I just disabled the GPS then restarted the Android phone & I found that the locationManager.getLastKnownLocation returned NULL for location
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With