Hi Solution 9420, Thanks so much for your reply! I have been trying SoftKeyboard (Demo API) and I wanted to verify if the method swipeLeft(), which has been implemented to do backspace or delete function, is actually working. So I deployed SoftKeyboard.apk to my device and have been swiping my finger on the keyboard. But as I mentioned above, all I get is a bunch of letters being printed out because of the "swipe: motion over the row of keys.
I will check your application to see how you made swiping and especially key-level fling (I really wanted to implement this on my IME too) to work. Thank you again and best regards, P.S. Your English is perfectly fine and understandable :) On Tuesday, March 13, 2012 6:39:40 PM UTC+9, Solution 9420 wrote: > > 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

