in my app that uses MapView, I am using the following to detect for GPS switched on or not:
but my app is still Force Closing if the Use Wireless Networks is switched off, since it can't seem to find a location fix. Does anyone have any best practice advice or examples for the best way to:
- Check for GPS, dialog box to switch on (above)
- On not switch on GPS, check for Wireless, dialog box to switch on
- On not switch on Wireless, finish() app completely?