2

We have standard software IME keyboard , SoftIME work fine for touch
How we can naviagate on SOft IME using DPAD ?

Shrenik
  • 399
  • 2
  • 5
  • 22

1 Answers1

0

Use DPAD to simulate touch event(MotionEvent) MOVE/DOWN/UP, reaction on Key UP, so user can see focus while MOVE and DOWN.

sam.wang.0723
  • 321
  • 1
  • 7
  • from where (module) i should simulate the touch events ? – Shrenik Sep 08 '12 at 17:14
  • 1
    You can also reference OpenWnn [http://www.codeforge.com/article/204267](http://www.codeforge.com/article/204267), if you are able to modify the framework level, normal hardware keyboard event will pass though PhoneWindowManager interceptKeyBeforeQueueing and interceptKeyBeforeDispatching – sam.wang.0723 Sep 10 '12 at 01:49
  • All hardware key event will pass though PhoneWindowManager interceptKeyBeforeQueueing and interceptKeyBeforeDispatching, you can transform hardware key event to touch event – sam.wang.0723 Sep 10 '12 at 05:38
  • touch event requires x,y coordinates , which coordinates should I use ? – Shrenik Sep 10 '12 at 07:07
  • I used to give a fixed value to x, y, your keyboard size must be fixed – sam.wang.0723 Sep 10 '12 at 09:50