Tag Archives: LocationManager

How to find location in Android using GPS?

This example helps you to find the location in Android using the GPS. I have commented out some functionality in the code. You can uncomment it and extend it at your wish. At first we will create a utility class that will handle all GPS related Operations. GPS Utility Class This class has all utility functions for gettingā€¦ Read More »

How to Check whether is GPS is enabled in your android device?

This simple code checks whether GPS in enabled in your android device or not. If the GPS is not enabled the user is redirected to the settings page. Turn off the GPS on your device and running it will display this screen. Please test GPS on the device because emulators don’t have GPS. But anyway you can simulateā€¦ Read More »