Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 2 answers

    Open defined URL after clicking OK Button in Messagebox

    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"

    Android Scripting
    3 years ago
  • 0 votes 5 answers

    Android "showmessagebox" with two decisions

    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

    Android Scripting
    5 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points