Android - Check if GPS is enabled

21:46 JPCO 0 Comments

Here i want to share with you how check if GPS is enabled in android. This utilities is very common when you are developing with google maps.

The snipped code is very simple, if gps is not enabled so it will show a Alert asking you , if you want to enable gps, it's OK a panel of configuration will be opened.

0 comentarios: