super.onCreate(savedInstanceState);

InputMethodManager imm =
(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,
InputMethodManager.HIDE_IMPLICIT_ONLY);

On Thu, Sep 17, 2009 at 11:17 PM, Mike Collins <[email protected]>wrote:

>
> I have a dialog that requires the use to type something.  I'd like to
> force the soft keyboard to be visible when this window starts.
>
> I've tried most everything that looks applicable and nothing works.
>
> The API demos of SDK 1.5 have a set of windows that have this
> android:windowSoftInputMode="stateVisible|adjustPan" set in the
> manifest and they don't get the soft keyboard either.
>
> Using either the 1.5 emulator or the 1.6 emulator or a 1.5 phone.
>
> tia,
>  mike
>
> >
>

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