1. Are you ready for the Galaxy S20? Here is everything we know so far!

Directly Enable GPS

Discussion in 'Android Development' started by mist3r0, Oct 25, 2010.

  1. mist3r0

    mist3r0 Newbie
    Thread Starter

    Hello guys,

    Exist a method to directly enable gps, without run this intent:

    Code (Text):
    1.  
    2. intentet in = new Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS);
    3. startActivity(in);
    4.  
    that bring me in a setting menu? :thinking::thinking::thinking:

    ...in the same modality of android power control widget.

    thanks
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - Directly Enable GPS
  1. ulao
    Replies:
    4
    Views:
    213
  2. rangmu
    Replies:
    1
    Views:
    821
  3. fab577
    Replies:
    1
    Views:
    467
  4. gonen52
    Replies:
    0
    Views:
    673
  5. Steve Singleton
    Replies:
    5
    Views:
    3,499
  6. App Update
    Replies:
    0
    Views:
    794
  7. Tony_P
    Replies:
    1
    Views:
    2,671
  8. ccplan
    Replies:
    1
    Views:
    838
  9. Carroll
    Replies:
    3
    Views:
    1,549
  10. Drmth
    Replies:
    0
    Views:
    1,985

Share This Page

Loading...