title: Android:How to show the location source settings programmatically?
body: <p>I want to open location source settings,I do as this</p>
  
  <pre><code>    Intent intent = new Intent( Settings.ACTION_LOCATION_SOURCE_SETTINGS );
      startActivityForResult(intent, 0);
  </code></pre>
  
  <p>but in some phones(main Android 4.0.4,some 4.1.2) it report an exception:</p>
  
  <pre><code>    android.content.ActivityNotFoundException: No Activity found to handle Intent {   act=android.settings.LOCATION_SOURCE_SETTINGS }
  at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1518)
  at android.app.Instrumentation.execStartActivity(Instrumentation.java:1390)
  at android.app.Activity.startActivityFromChild(Activity.java:3472)
  at android.app.Activity.startActivityForResult(Activity.java:3224)
  at cn.safetrip.edog.function.map.h.onClick(HomeActivity.java:970)
  at     com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:169)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:154)
  at android.app.ActivityThread.main(ActivityThread.java:4624)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:511)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>I have no idea...</p>