getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
works as context.getWindow()... or dialog.getWindow)... Cheers Emanuel Moecklin 1gravity LLC On Jan 20, 4:27 pm, dashman <[email protected]> wrote: > I've got a layout with 1 input field where a user can > enter a numeric code. > > how can i force the keyboard to be displayed > as soon as the layout is displayed. > > i did a view.requestFocus() - but i still need to manually > tap on the input field before the keyboard pops up. -- 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

