Hi there,
I am the creator of 9420 Tablet Keyboard (and 9420 Thai Keyboard).
Pretty much familiar with this matter.
For swipe, you can only trap the outcome of the swipe thru the method
swipeDown/Left/Up/Right() and it is the swipe at keyboard level. You
can change the action of the swipe, for example, from delete to
anything else).
If you want to trap the MotionEvent, you will need to create your own
keyboardView.
That way, you can implement anything you want such as  key-level
flingUp.

I'm poor on English. Please check out my application.
It supports
- configurable keyboard-level swipe
- Key-level fling
- MultiTap
- LongPress
All are done thru custom keyboard view.
See www.solution9420.com

Cheers,
Solution 9420



On Mar 13, 3:57 pm, tsukishiro yamazaki <[email protected]>
wrote:
> Hello everyone,
>
> I wanted to implement swiping for the custom IME I am developing. Looking
> into SoftKeyboard sample code, it seems this can be handled by the swipe
> methods under OnKeyboardActionListener. However when I tried to test if the
> swipe methods in SoftKeyboard were working, I found myself having a hard
> time catching the event. For example, swipeLeft() method in SoftKeyboard
> will perform a backspace. But I never get to pull this off. I usually just
> get some random letters being printed out to the input field whenever I do
> swipe left aciton.
>
> Can someone tell me how to get swipe methods to work?
> Thanks and best regards,
> - tsukishiro

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to