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 5 answers

    Questions about Java Scripting On android devices Solved Locked

    I am fairly new to Java but I know enough to see what a javascript is doing and how to manipulate it to do what I need to get done. I would like to convert some of my legacy scripts to Java because they are a bit more robust and give me a few more options. Here is an example  of one of my legacy scripts  var MyApp = 'com.test.mobile'; var location = 'some.location'   kill_application %MyApp% sendintent -a "test.AppConfig://Config?BaseAddress=http://%location%:8080/testingapp&SystemName=TestApi&DeviceId=%MCDEVICENAME%&PinUsername=True&PinPassword=True"   My question is how do I use Java to send mobicontrol commands like "sendintent" or "kill_application". Is it possible to call and set mobicontrol variables like in the previous example?  

    Android Scripting
    4 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