How to Activate the Portable Hotspot on a Smart POS Terminal

From wizarPOS
Revision as of 03:40, 20 May 2022 by Hans (talk | contribs)

Special Method For Q2 with Android 6

Here is a demo of turning on the portable hotspot by application.

Common Method For All POS

API

Start

boolean startWifiAp(String wifiApName, String wifiApPassword, String wifiApSecurityKeyManagement)

Start Wifi AP.

Parameters
wifiApName String: WLAN hotspot network name;
wifiApPassword String: WLAN hotspot password;
wifiApSecurityKeyManagement String: WLAN hotspot security: String None = "0", String WPA2_PSK = "4";
Returns
boolean true or false

Stop

boolean stopWifiAp()

Stop Wifi AP.

Returns
boolean true or false

System APK

The API is provided by the system APK, please install it before testing the API.

Demo

Here is the demo.