M3
|
This tutorial shows how to redirect the user to a system settings screen asking to modify some settings the application depends on. We will make a specific example with GPS: The application can be used only if GPS is available.
The android systems GPS setting screen can be called just like any other Activities: |
|
-
startActivityForResult(new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS), 0);
To check GPS availability use the code code below: (the Activity must implement LocationListener)
Read more @ Hello Android – Android OS news, tutorials, downloads

![Samsung Takes The Galaxy Note To The Streets – iPhone Gets Served [Video]](http://www.theandroider.com/wp-content/themes/news-magazine-theme-640/cropper.php?src=/wp-content/plugins/wp-o-matic/cache/5962b_SGNote-e1329981878612-150x150.jpg&h=50&w=50&zc=1&q=95)







