Thanks for the help. The link benefits but says the probability of the soft
key board shown. Can I use InputMethodManager or
InputMethodService.isInputViewShown and get the result? can I get the pseudo
or implemented code for the same?

On Wed, Apr 20, 2011 at 11:58 AM, Ravi <[email protected]> wrote:

> 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

-- 
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

Reply via email to