sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50983
Re: [Question #679146]: sikulix adb keyevent
Question #679146 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679146
Status: Open => Answered
RaiMan proposed the following answer:
I have to check.
But there are special ADB features in class Region (not yet in the docs
;-), that you might play with:
(the Java API function signatures)
aTap
public <PFRML> void aTap(PFRML target) throws FindFailed
Throws:
FindFailed
aInput
public void aInput(java.lang.String text)
aKey
public void aKey(int key)
aSwipe
public <PFRML> void aSwipe(PFRML from, PFRML to) throws FindFailed
Throws:
FindFailed
aSwipeUp
public void aSwipeUp()
aSwipeDown
public void aSwipeDown()
aSwipeLeft
public void aSwipeLeft()
aSwipeRight
public void aSwipeRight()
have to be used like so:
someRegion.aInput("some text")
where someRegion must be a Region created with ADBScreen.newRegion()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.