获取Wifi信息:
{
"stackTrace": [{
"className": "libcore.util.Janus",
"level": 0,
"fileName": "Janus.java",
"methodName": "getData",
"lineNumber": 487
}, {
"className": "android.net.wifi.WifiManager",
"level": 0,
"fileName": "WifiManager.java",
"methodName": "getConnectionInfo",
"lineNumber": 1676
}, {
"className": "org.chromium.net.NetworkChangeNotifierAutoDetect$WifiManagerDelegate",
"level": 0,
"fileName": "NetworkChangeNotifierAutoDetect.java",
"methodName": "getWifiInfoLocked",
"lineNumber": 28
}, {
"className": "org.chromium.net.NetworkChangeNotifierAutoDetect$WifiManagerDelegate",
"level": 0,
"fileName": "NetworkChangeNotifierAutoDetect.java",
"methodName": "getWifiSsid",
"lineNumber": 22
}, {
"className": "org.chromium.net.NetworkChangeNotifierAutoDetect",
"level": 0,
"fileName": "NetworkChangeNotifierAutoDetect.java",
"methodName": "getCurrentNetworkState",
"lineNumber": 67
}, {
"className": "org.chromium.net.NetworkChangeNotifierAutoDetect",
"level": 0,
"fileName": "NetworkChangeNotifierAutoDetect.java",
"methodName": "<init>",
"lineNumber": 21
}, {
"className": "org.chromium.net.NetworkChangeNotifier",
"level": 0,
"fileName": "NetworkChangeNotifier.java",
"methodName": "setAutoDetectConnectivityStateInternal",
"lineNumber": 61
}, {
"className": "com.android.webview.chromium.WebViewChromiumAwInit",
"level": 0,
"fileName": "WebViewChromiumAwInit.java",
"methodName": "startChromiumLocked",
"lineNumber": 35
}, {
"className": "com.android.webview.chromium.WebViewChromiumAwInitForP",
"level": 0,
"fileName": "WebViewChromiumAwInitForP.java",
"methodName": "startChromiumLocked",
"lineNumber": 3
}, {
"className": "com.android.webview.chromium.WebViewChromiumAwInit",
"level": 0,
"fileName": "WebViewChromiumAwInit.java",
"methodName": "ensureChromiumStartedLocked",
"lineNumber": 142
}, {
"className": "com.android.webview.chromium.WebViewChromiumAwInit",
"level": 0,
"fileName": "WebViewChromiumAwInit.java",
"methodName": "startYourEngines",
"lineNumber": 123
}, {
"className": "com.android.webview.chromium.WebViewChromiumFactoryProvider",
"level": 0,
"fileName": "WebViewChromiumFactoryProvider.java",
"methodName": "startYourEngines",
"lineNumber": 157
}, {
"className": "com.android.webview.chromium.WebViewChromium",
"level": 0,
"fileName": "WebViewChromium.java",
"methodName": "init",
"lineNumber": 34
}, {
"className": "android.webkit.WebView",
"level": 0,
"fileName": "WebView.java",
"methodName": "<init>",
"lineNumber": 424
}, {
"className": "android.webkit.WebView",
"level": 0,
"fileName": "WebView.java",
"methodName": "<init>",
"lineNumber": 350
}, {
"className": "android.webkit.WebView",
"level": 0,
"fileName": "WebView.java",
"methodName": "<init>",
"lineNumber": 333
}, {
"className": "android.webkit.WebView",
"level": 0,
"fileName": "WebView.java",
"methodName": "<init>",
"lineNumber": 320
}, {
"className": "java.lang.reflect.Constructor",
"level": 0,
"fileName": "Constructor.java",
"methodName": "newInstance0",
"lineNumber": -2
}, {
"className": "java.lang.reflect.Constructor",
"level": 0,
"fileName": "Constructor.java",
"methodName": "newInstance",
"lineNumber": 343
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "createView",
"lineNumber": 647
}, {
"className": "com.android.internal.policy.PhoneLayoutInflater",
"level": 0,
"fileName": "PhoneLayoutInflater.java",
"methodName": "onCreateView",
"lineNumber": 58
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "onCreateView",
"lineNumber": 720
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "createViewFromTag",
"lineNumber": 788
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "createViewFromTag",
"lineNumber": 730
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "rInflate",
"lineNumber": 863
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "rInflateChildren",
"lineNumber": 824
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "rInflate",
"lineNumber": 866
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "rInflateChildren",
"lineNumber": 824
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "inflate",
"lineNumber": 515
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "inflate",
"lineNumber": 423
}, {
"className": "android.view.LayoutInflater",
"level": 0,
"fileName": "LayoutInflater.java",
"methodName": "inflate",
"lineNumber": 374
}, {
"className": "com.android.internal.policy.PhoneWindow",
"level": 0,
"fileName": "PhoneWindow.java",
"methodName": "setContentView",
"lineNumber": 420
}, {
"className": "android.app.Activity",
"level": 0,
"fileName": "Activity.java",
"methodName": "setContentView",
"lineNumber": 2778
}, {
"className": "io.dcloud.WebviewActivity",
"level": 0,
"fileName": "SourceFile",
"methodName": "onCreate",
"lineNumber": 3
}, {
"className": "android.app.Activity",
"level": 0,
"fileName": "Activity.java",
"methodName": "performCreate",
"lineNumber": 7242
}, {
"className": "android.app.Activity",
"level": 0,
"fileName": "Activity.java",
"methodName": "performCreate",
"lineNumber": 7233
}, {
"className": "android.app.Instrumentation",
"level": 0,
"fileName": "Instrumentation.java",
"methodName": "callActivityOnCreate",
"lineNumber": 1271
}, {
"className": "android.app.ActivityThread",
"level": 0,
"fileName": "ActivityThread.java",
"methodName": "performLaunchActivity",
"lineNumber": 2932
}, {
"className": "android.app.ActivityThread",
"level": 0,
"fileName": "ActivityThread.java",
"methodName": "handleLaunchActivity",
"lineNumber": 3087
}, {
"className": "android.app.servertransaction.LaunchActivityItem",
"level": 0,
"fileName": "LaunchActivityItem.java",
"methodName": "execute",
"lineNumber": 78
}, {
"className": "android.app.servertransaction.TransactionExecutor",
"level": 0,
"fileName": "TransactionExecutor.java",
"methodName": "executeCallbacks",
"lineNumber": 108
}, {
"className": "android.app.servertransaction.TransactionExecutor",
"level": 0,
"fileName": "TransactionExecutor.java",
"methodName": "execute",
"lineNumber": 68
}, {
"className": "android.app.ActivityThread$H",
"level": 0,
"fileName": "ActivityThread.java",
"methodName": "handleMessage",
"lineNumber": 1817
}, {
"className": "android.os.Handler",
"level": 0,
"fileName": "Handler.java",
"methodName": "dispatchMessage",
"lineNumber": 106
}, {
"className": "android.os.Looper",
"level": 0,
"fileName": "Looper.java",
"methodName": "loop",
"lineNumber": 193
}, {
"className": "android.app.ActivityThread",
"level": 0,
"fileName": "ActivityThread.java",
"methodName": "main",
"lineNumber": 6719
}, {
"className": "java.lang.reflect.Method",
"level": 0,
"fileName": "Method.java",
"methodName": "invoke",
"lineNumber": -2
}, {
"className": "com.android.internal.os.RuntimeInit$MethodAndArgsCaller",
"level": 0,
"fileName": "RuntimeInit.java",
"methodName": "run",
"lineNumber": 506
}, {
"className": "com.android.internal.os.ZygoteInit",
"level": 0,
"fileName": "ZygoteInit.java",
"methodName": "main",
"lineNumber": 863
}],
"result": {
"WifiInfo": "SSID: , BSSID: 02:00:00:00:00:00, MAC: 02:00:00:00:00:00, Supplicant state: COMPLETED, RSSI: -48, Link speed: 192Mbps, Frequency: 5300MHz, Net ID: 0, Metered hint: false, score: 60"
}
}