What does the library do for you?
- It checks whether GPS is enabled in your device. If it’s already enabled – you’ll be informed about it.
- In case that GPS is disabled, a dialog will appear (as can be seen on the right). Once you press “accept”, the GPS will be turned on.
The library speeds up the GPS enabling process, by sparing the user to change the settings in the android system.
So, let’s figure out how to use it.