'm showing an input box using AlertDialog. The EditText inside the dialog itself is automatically focused when I call AlertDialog.show(), but the soft keyboard is not automatically shown.
How do I make the soft keyboard automatically show when the dialog is shown? (and there is no physical/hardware keyboard). Similar to how when I press the Search button to invoke the global search, the soft keyboard is automatically shown. On Sep 1, 2:12 pm, TreKing <treking...@gmail.com> wrote: > On Thu, Sep 1, 2011 at 4:09 AM, sblantipodi > <perini.dav...@dpsoftware.org>wrote: > > > Is it possible to display the alert input with the keyboard opened, without > > the needs to tap a second time to open the keyboard? > > Request focus on the > EditText.http://developer.android.com/reference/android/view/View.html#request...() > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en