Directly Enable GPS

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

  1. mist3r0

    mist3r0 Member
    15

    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...