-
Notifications
You must be signed in to change notification settings - Fork 11
WifiHelper
Pico edited this page May 18, 2020
·
6 revisions
Register the receiver of Wi-Fi status broadcast.
Unregister the receiver of Wi-Fi status broadcast.
Get the name of Wi-Fi connection.
return:
Name of connected Wi-Fi, e.g. zi1024
Get the MAC address of connected Wi-Fi.
return:
Wi-Fi MAC address, e.g. 0a:22:86:2A:22:E7
Get Wi-Fi IP address.
return:
Wi-Fi IP address, e.g. 192.168.0.100
Connect to Wi-Fi.
parameter:
ssid: SSID of Wi-Fi to be connected;
password: password of Wi-Fi to be connected.
Set static IP.
parameter:
ssid: SSID of Wi-Fi to be connected;
password: password of Wi-Fi to be connected;
ip: customized static IP;
gateway: customized gateway;
dns: customized dns.
- getPUIVersion
- getDeviceType
- getSN (*)
- silentInstall (*)
- silentUninstall (*)
- killApp
- launchBrowser
- launchBrowserWithLinkInFile
- goToApp
- startVRShell
- getAppsString
- registerHomeReceiver
- unregisterHomeReceiver
- openRecenterApp
- installApp
- setSystemProp
- getSystemProp