Monkey
Store
Community
Apps
Contact
Login or Signup

How to detect the "hide keyboard" key on soft BB?

Monkey Programming Forums/Android/How to detect the "hide keyboard" key on soft BB?

MikeHart(Posted 1+ years ago) #1
I would like to detect when the user pressed the little "hide keyboard key on the bottom left of an Android soft keyboard. Is this possible?


Rixarn(Posted 1+ years ago) #2
Have you found a solution for this? I'm also having trouble hiding the keyboard ... because I dont know how to catch the event of the hide keyboard button pressed


MikeHart(Posted 1+ years ago) #3
Sadly not.


JIM(Posted 1+ years ago) #4
There's some info here: http://developer.android.com/reference/android/view/inputmethod/InputMethodManager.html

And more here: http://stackoverflow.com/questions/3425932/detecting-when-user-has-dismissed-the-soft-keyboard

But you have to get your hands dirty in java code. Yuck!


Rixarn(Posted 1+ years ago) #5
Thank you for the info Jim! I'll give it a try :)


MikeHart(Posted 1+ years ago) #6
Is this solution JIM has linked to usable if you don't have a textfield but just want to read the keyboard? Sounds this solution needs a native textfield, but I might be wrong here.