1. Download our Official Android App: Forums for Android!

Apps Directly Enable GPS

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

  1. mist3r0

    mist3r0 Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    19
    Joined:
    Dec 12, 2009

    Dec 12, 2009
    19
    0
    15
    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
     

    Advertisement

Share This Page

Loading...