well i have not tried capturing the keys from the soft keyboard, but u cud try out a round abt method for checking the number of chars exceeded. u cud run a thread tht keeps track of the text entered in the edit text box. wen it exceeds, delete from the edit text box.
if u have a better sol please share. cheers! On Thu, Jul 2, 2009 at 3:06 PM, Chris <[email protected]> wrote: > > Hi every body > I am popping an alert box whenever an user exceeds 100 characters in a > text-box(EditTextPreference). > Now i am able to capture the hard keyboard's, i.e. computers's > keyboard, events, but i am not able to capture the sofkeyboard's key > events. > There are some keys like numbers, enter, delete etc. in the > softkeyboard which i am able to capture using onKey, but i am not able > to capture the alphabets and other keys. > i also tried setOnKeyboardActionListener, but didnt get the desired > results,( may be i was not using it correctly). > Can any one suggest how to capture the click of alphabets on the > sofkeyboard. > > Thanks a lot.. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

