This should help : http://stackoverflow.com/questions/2150078/android-is-software-keyboard-shown
On Apr 20, 10:29 am, Akshay Kulkarni <[email protected]> wrote: > Hi, > > Am trying to detect if the soft keyboard is active from the > ImputMethodManager, and the piece of code is as below ; > > * InputMethodManager imm = > (InputMethodManager)getActivity().getApplicationContext().getSystemService( > Context.INPUT_METHOD_SERVICE); > > Log.e(TAG, "Result :"+imm.isActive()); > * > But the above displays the result as "true" always. > > Is there any way to find if the keyboard is active or visible? > > Akshay -- 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

