error handling in android. exception Caused by: java.lang.IllegalArgumentException: provider=gps
问题 I've received an error report for one of my apps. I'm pretty much a beginner in android development, and don't quite understand where this could originate from. Where is the app code would it be best to catch all errors and for example just toast message that an error occured? My app basically sits and waits for GPS and/or Network location before displaying a button. This is the error: java.lang.RuntimeException: Unable to resume activity {fr.mcnamara.irelandtravelguide/fr.mcnamara