A Couple Android Soft Keyboard Questions

Posted by Rich on Stack Overflow See other posts from Stack Overflow or by Rich
Published on 2010-12-22T16:51:46Z Indexed on 2010/12/22 16:54 UTC
Read the original article Hit count: 257

This is kind of a repost, and I apologize for any broken rules, but I have a couple of questions about the soft keyboard on Android phones:

1) I have an Android app with a couple different views (that the user switches between). How can I determine which is the current view?? I need to get the current view to execute the code that hides the virtual keyboard.

2) How can I check whether the virtual keyboard is currently being displayed (so I can filter the actions of my various hard keys)??

Thanks, R.

© Stack Overflow or respective owner

Related posts about android

Related posts about user-interface