Community - SOTI MobiControl

Community - SOTI MobiControl

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

SOTI MobiControl Discussions


  • 1 votes 1 answer

    Simulate a long press with injectKey function

    How can I simulate a long press on a device's key? Currently, I can only send short presses by mobicontrol.device.injectKey(XX). It seems that there is a way to do it by using ACTION_DOWN and _UP, as it says here: https://developer.android.com/reference/android/view/KeyEvent, but I couldn't figure out how to use it in the MobiControl WebConsole.

    Android Scripting
    2 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
    Platinum

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

  • Gold
    Gold

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

  • Silver
    Silver

    Beginners taking the initiative. Should have more than 500 points.

  • Bronze
    Bronze New

    New contributors starting their journey. Should have more than 250 points.