There's a new home for Articles. Find Articles on Our Product Support Page.
I use Android Enterprise Devices (Zebra TC57 + TC27) on MobiControl 15.1. I want to open a defined URL with chrome after clicking the OK button. This script just opens chrome, because i cant find a way to define a URL... var buttonLabels = ['OK'];mobicontrol.message.createInfoDialog('Text for Messagebox').withButtons(buttonLabels[0]).withCallback(onConfirm).show(); function onConfirm(result) {if (result.buttonIndex != null) {mobicontrol.log.info('The OK button was clicked');mobicontrol.app.start('com.android.chrome');}} This old sendintent script works fine but there's no way to put this in a showmessagebox. sendintent -a "https://google.com#Intent;action=android.intent.action.VIEW;end"
Hello, i have tried to send a message to my android devices, in order to let the user make a decision: showmessagebox "Is this okay for you?" NO_TIMER 2 NOif %ShowMessageBoxReturn% == IDYES goto "SCRIPT "else goto EXIT I want to start a script, if the user clicks YES - if the user clicks NO it should go to EXIT. Is this possible? Thanks
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points