Menu

How to hide or disable device settings and default apps to create a restricted UI

Environment

  • Knox SDK

Overview

This article specifies useful API methods that help hide or disable certain device settings and default apps when creating a restricted UI.

How to hide elements in device settings

To hide elements in the device's settings, call SettingsManager.setSettingsHiddenState().

The elements that can be hidden include:

  • Applications
  • Backup
  • Backup and reset
  • Bluetooth
  • Developer
  • Flight mode
  • Language
  • Location
  • Lock screen
  • Reset
  • Users
  • Wi-Fi

How to hide the biometric authentication option

To hide the biometric authentication option, call PasswordPolicy.setBiometricAuthenticationEnabled().

How to disable an application

To disable an application without uninstalling it, call ApplicationPolicy.setDisableApplication().

You can also disable an app component using ApplicationPolicy.setApplicationComponentState().

Additional information

Refer to the Knox SDK API referencefor further details.

To learn more about Knox SDK, refer to About the Knox SDK.