@@ -0,0 +1,1757 @@
+package org.apache.cordova.plugin;%0A%0A%0Aimport org.apache.cordova.api.CallbackContext;%0Aimport org.apache.cordova.api.CordovaPlugin;%0Aimport org.json.JSONArray;%0Aimport org.json.JSONException;%0Aimport android.content.Context;%0Aimport android.net.wifi.WifiManager;%0Aimport android.util.Log;%0A%0Apublic class WifiInfoPlugin extends CordovaPlugin %7B%0A%0A    @Override%0A    public boolean execute(String action, JSONArray data, CallbackContext callbackContext) throws JSONException %7B%0A%0A        Context context = cordova.getActivity().getApplicationContext();%0A        WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);%0A//        WifiInfo wifiInfo = wifiManager.getConnectionInfo();%0A        %0A        %0A//        WifiConfiguration wc = new WifiConfiguration();%0A//        wc.SSID = wifiInfo.getSSID();%0A//        wc.preSharedKey = %22%5C%22password%5C%22%22;%0A//        wc.hiddenSSID = true;%0A//        wc.status = WifiConfiguration.Status.ENABLED;%0A//%0A//        wc.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP);%0A//        wc.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);%0A//        wc.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);%0A//        wc.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);%0A//        wc.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);%0A//        wc.allowedProtocols.set(WifiConfiguration.Protocol.RSN);%0A%0A        boolean b = wifiManager.isWifiEnabled();%0A        Log.d(%22WifiPreference%22, %22enableNetwork returned %22 + b);%0A        if (b) %7B%0A            wifiManager.setWifiEnabled(false);%0A            System.out.println(%22false%22);%0A        %7D else %7B%0A            wifiManager.setWifiEnabled(true);%0A            System.out.println(%22true%22);%0A        %7D%0A        return true;%0A    %7D%0A%7D%0A

Create WifiInfoPlugin.java