You need to pass the flag to force it to be hidden.

On Wed, Nov 11, 2009 at 5:09 PM, sdphil <[email protected]> wrote:

> i am attempting to hide a forcibly opened soft keyboard using --
>
>        // hide the soft keyboard.
>        View view = (View) findViewById(R.id.DebugText);
>            InputMethodManager manager = (InputMethodManager)
> getSystemService(Context.INPUT_METHOD_SERVICE);
>        IBinder binder = view.getApplicationWindowToken();
>        if (binder != null) {
>                manager.hideSoftInputFromWindow(binder, 0);
>        }
>
>
> but it doesn't seem to be working - any ideas?
>
> tia.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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