Android Question Change mouse position by code

Discussion in 'Android Questions' started by prokli, Jan 27, 2015.

  1. prokli

    prokli Active Member Licensed User

    I would like to change mouse position by b4a code. In B4J there is an example (robot API) which works very fine. But when I try to run this example by B4A I receive an error at line "":
    this class seems to be unknown

    Dim jo As JavaObject
    robot = jo.RunMethodJO("GetApplication",Null).RunMethodJO("createRobot",Null)
    MouseMove(2, 2)

  2. Erel

    Erel Administrator Staff Member Licensed User

    This code will not work on Android.

    I don't think that there is any API in Android that allows you to control the mouse position.
  3. susu

    susu Well-Known Member Licensed User

    How about remote app that can control Android device from PC?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice