0

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.

elbajo
  • 683
  • 2
  • 8
  • 17

1 Answers1

0

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

Rilwan
  • 2,251
  • 2
  • 19
  • 28
  • As I said, this doesn't work: device.press('FLAG_EDITOR_ACTION', MonkeyDevice.DOWN_AND_UP) – elbajo Sep 16 '13 at 09:11
  • so I guess it's impossible...? – elbajo Sep 23 '13 at 15:44
  • in what scenario you want to use this key ? i mean any other equivalent key for your purpose ? – Rilwan Sep 23 '13 at 17:19
  • For example when you log into an account, you type your login and then to go to the next field (usualy the password field) you can press this "Action Key". I know what you are going to say : press "TAB" or "Enter" but on some applications they don't have the same effect as the "Action Key". – elbajo Sep 24 '13 at 07:51