Hi,
I want to manually dispatch a key down event in a listactivity. This
works when I just add the Event to the Activity by:
this.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN,
KeyEvent.KEYCODE_DPAD_DOWN));
this.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_UP,
KeyEvent.KEYCODE_DPAD_DOWN));
Hi,
I am trying to implement a small soft keyboard which should simulate
HW key events. There should be an Up-Key, a Down-Key and an OK and
Cancel Button.
I made my own InputMethodService which is also defined in the Manifest
file:
service android:name=MyInputMethod
2 matches
Mail list logo