MC18 Android disabling power menu

Article ID: 87534624

Issue / Question

MC18 Android disabling power menu

Applicable To

MC18 Kitkat, MC18 Lollipop

Resolution / Answer

A custom feature/application in MC18 called navbarconfig app that can be used to achieve this. This app takes XML file based configuration and can:

 

  1. Hide the entire navbar (soft key panel with back, home, recent apps, power menu) completely

  2. Hide the power menu (the other 3 buttons back, home, recent apps will remain).


A navbarconfig xml file examples depending on the need:
 

          A. hidenavbarinstant – show/hide the navbar and the top status bar instantly/dynamically [this change doesn’t persist over reboots]

<?xml version="1.0" encoding="utf-8"?>
<navbarconfig>
<hidenavbarinstant>true</hidenavbarinstant>
</navbarconfig>

          B. hidenavbar – hides the navbar and persists across reboot. But requires a reboot after pushing the xml

<?xml version="1.0" encoding="utf-8"?>
<navbarconfig>
<hidenavbar>true</hidenavbar>
</navbarconfig>

          C. hidepwrbtn – hides the power button option and persists across reboot. But requires a reboot after pushing the xml.

<?xml version="1.0" encoding="utf-8"?>
<navbarconfig>
<hidepwrbtn>true</hidepwrbtn>
</navbarconfig>

The corresponding xml needs to be pushed to /enterprise/device/settings/navbarconfig/ folder of the device.

+ Applicable Products

  • MC18