The BARTEC OEM Config app lets customers with an MDM solution configure the device behavior. In the MDM, you can edit the managed configurations of the OEMConfig app, and will see that the parameters are divided into the sections:
In the following, we will go through the configuration options.
These parameters control the behavior of the two programmable buttons. The left and right buttons are configured separately.
Tap action/Double tap action/Long press action Configure what events should be triggered when tapping or pressing the button. These settings are ignored if the programmable button is used for PTT or SOS. For each button, the options are
Tap value/Double tap value/Long press value Needed if the action should trigger a key event or launch an app. The value is ignored if the corresponding action option (set in Tap action/Double tap action/Long press action) is either No action or Toggle Flashlight. The form of this parameter depends on what is set in Tap action/Double tap action/Long press action:
If the action is Launch App, then the value should be set as {"packageName": "my.org.application"} where the actual package name should be specified instead of "my.org.application".
If the action is Inject Key Event, then the value should be set as {"keyCode": "android_key_code"} with an actual Android key code integer instead of "android_key_code”. For instance
Various Android Keycodes are defined here
PTT Action can be set to one of following
PTT Value Sets the PTT app name. Only relevant if PTT Action is set to PTT. The value should be on the following form: {"packageName": "org.example.myapp"} Where "org.example.myapp" should be the package to be used for PTT.
SOS Action When configured, the user can press the programmable button 5 times to reach an emergency contact. It can be set to either