how to display error message  when gps or wi-fi is off in android device
<p>i created application for showing location and latitude,longitude for where am i? but gps or wi -fi is off the application is crashed. how to prevent this crash by showing corresponding error. i want to show error message in android device. Log.e() is not shown in device how to do that. please correct me</p>
