1. Home
  2. Knowledge Base
  3. SureMDM
  4. How to Configure Device Gesture Mode on Platform-Signed Devices Using RunScript in SureMDM
  1. Home
  2. Knowledge Base
  3. Android Management
  4. How to Configure Device Gesture Mode on Platform-Signed Devices Using RunScript in SureMDM

How to Configure Device Gesture Mode on Platform-Signed Devices Using RunScript in SureMDM

Purpose

To standardize system navigation across managed Platform-Signed Android devices by remotely setting their navigation mode. This is achieved using the RunScript command in SureMDM, which allows administrators to enforce 3-button, 2-button (pill), or fully gestural navigation for consistent device behavior.

Prerequisites

  • Devices must be Platform-Signed.
  • Access to the SureMDM Console with permission to create and deploy RunScript jobs.


To know more about Platform Signed Devices please refer the below link
https://knowledgebase.42gears.com/article/enterprise-agent-for-advanced-device-management-and-lockdown/ 

Steps 

  1. Log in to the SureMDM Console
  2. Navigate to Jobs -> New Job -> Android -> Run Script
  3. Enter the Job Name and Enter the below Script

!#suremdm

setNavigationMode(<mode_value>)

Replace <mode_value> with one of the following options:

0 = 3-button navigation

1 = 2-button (pill) navigation

2 = Fully gestural navigation

-1 = Don’t Care (no change)

Example 1: 

!#suremdm

setNavigationMode(0)

This above Example 1configures the device to use 3-button navigation

Example 2:

!#suremdm

setNavigationMode(2)

This above Example 2 configures the device to use Fully Gestural Navigation.

4. Click on Save to create the job.

Expected Results

Upon successful execution, the device will update its navigation mode to the selected configuration (3-button, 2-button, or fully gestural).  You can verify this by navigating on the device to: Settings > System > Gestures > System Navigation

Conclusion

Using the RunScript command to configure gesture mode enables IT administrators to remotely enforce consistent navigation settings on Platform-Signed devices, improving user experience and maintaining uniformity across the device fleet.

Was this helpful?
YesNo
Updated on January 2026
Need Support?
Can't find the answer you're looking for?
Contact Support