Another user case is a passcode screen.

I have four edit texts. I have my own buttons as the Samsung's default 
keyboard doesn't work well with TextWatcher. 

I am creating my own keyboard for that reason. But the keyboard keeps 
showing up :( 

On Wednesday, April 29, 2009 12:33:46 AM UTC+5:30, simon wrote:
>
> Using the 1.5 SDK. I have an application with a TabActivity and when I 
> change from one tab with edit fields to another that does not need any 
> user input I would like the virtual keyboard to be hidden. I've tried 
> setting android:windowSoftInputMode="stateAlwaysHidden" on the 
> manifest for the activity that doesn't need user input but it didn't 
> work (maybe because the activity is triggered by a TabActivity). 
>
> I've found the method hideSoftInputMethod(IBinder, int) in the 
> InputMethodManager class but I don't know how to get the IBinder 
> object that this method needs. 
>
> How do I get that IBinder object? Are there other ways to hide the 
> soft keyboard? 
>
> It would be even better if I could make the soft keyboard 
> automatically hide when an EditText loses focus. 
>
> Any help will be appreciated. 
>
>

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