Disable Navigation Bar
Use Java SDK
Version 1.7.6.1 or above of cloudpossdk
System update is required for support
Version 2.15.182 or above of WizarViewAgentAssistant is required
Permission
The application declares the following permissions in the manifest:
android.permission.CLOUDPOS_NAVIGATION_BUTTONAPI Overview
void disableNavigationBarButton(int btnId,
boolean disable)Disable navigation bar button.
Parameters
int
btnId. (SystemAdvanceConstants#BTN_ID_HOME,SystemAdvanceConstants#BTN_ID_BACK,SystemAdvanceConstants#BTN_ID_RESENT)
boolean
true: disable; false: enable;
Snippet code
private ISystemDevice device;
if (device == null) {
device = POSTerminalAdvance.getInstance().getSystemDevice();
}
device.open(context);
device.disableNavigationBarButton(btnId, disable);
device.close();Resource Download
Refer to the cloudpos apidemo - demo
Use Android method
Capture the button event in app, see also.
Last updated