The source code to the Soft Keyboard (if by that you mean the default 
Android keyboard) is available here:

https://www.codeaurora.org/gitweb/quic/la/?p=platform/packages/inputmethods/LatinIME.git;a=summary
 

Your best bet is to just look at its source.



On Tuesday, March 13, 2012 4:57:15 PM UTC+8, tsukishiro yamazaki 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to