@@ -0,0 +1,797 @@
+package com.dataforpeople.plugins;%0Aimport org.apache.cordova.CordovaPlugin;%0Aimport org.apache.cordova.CallbackContext;%0Aimport org.json.JSONArray;%0Aimport org.json.JSONException;%0Aimport org.json.JSONObject;%0Aimport android.content.Intent;%0Aimport android.content.Context;%0Aimport android.provider.Settings;%0Aimport android.app.Activity;%0Apublic class GpsSettings extends CordovaPlugin %7B%0A@Override%0Apublic boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException %7B%0Aif(action.equals(%22launch%22)) %7B%0AlaunchGpsSettings();%0Areturn true;%0A%7D%0Areturn false;%0A%7D%0Apublic void launchGpsSettings() %7B%0AIntent i = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);%0Ai.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);%0Athis.cordova.getActivity().getApplicationContext().startActivity(i);%0A%7D%0A%7D%0A

Create GpsSettings.java