In addition to the activity customized by the developer, our system also has several commonly used activity built in, such as the activity that appears when the card is upgraded, which is one of the built-in activity ;

In addition, there is a system setting activity, open method :

EASYUICONTEXT->openActivity("ZKSettingActivity");

We can click on a button to jump to this activity to see the effect (the effects of several other built-in interfaces can be viewed in the following ways) :

static bool onButtonClick_Button1(ZKButton *pButton) {
    EASYUICONTEXT->openActivity("ZKSettingActivity");
    return false;
}

After each item is clicked in, there is a new built-in activity, open the network settings :

EASYUICONTEXT->openActivity("NetSettingActivity");

Open WIFI settings :

EASYUICONTEXT->openActivity("WifiSettingActivity");

If the target machine supports wifi, turn on the switch in the upper right corner, the searched wifi information will be displayed on the activity;

Open the hotspot setting activity:

EASYUICONTEXT->openActivity("SoftApSettingActivity");

Back to the system setting activity just now, we click to open the language setting activity:

EASYUICONTEXT->openActivity("LanguageSettingActivity");

Touch calibration interface:

EASYUICONTEXT->openActivity("TouchCalibrationActivity");

Developer options activity :

EASYUICONTEXT->openActivity("DeveloperSettingActivity");

Currently there are only ADB debugging switch options.

powered by Gitbooklast modified: 2020-12-08 18:24:17

results matching ""

    No results matching ""