MonkeyRunner send "Action/Next" key

544 views Asked by At

Using MonkeyRunner how can I send the "next/action" key? It's the one on the bottom right corner of the android keyboard. Most of the time it's the same action as "KEYCODE_ENTER" or "KEYCODE_TAB" but not always.

I tried

  • device.press('ACTION_DOWN', MonkeyDevice.DOWN_AND_UP)
  • device.press('ACTION_UP', MonkeyDevice.DOWN_AND_UP)
  • device.press('FLAG_EDITOR_ACTION', MonkeyDevice.DOWN_AND_UP)

but it's not one of those.

1

There are 1 answers

4
Rilwan On

from the android developers webpage what you have mentioned is FLAG_EDITOR_ACTION. see keyevents