-2

Possible Duplicate:
Android: show soft keyboard automatically when focus is on an EditText

I want to show the soft keyboard when my dialog pop up to enter the text immediately? (I use android 2.3.3) I have searched. But all solutions I found not work? Help me!!!

Community
  • 1
  • 1
Hieu Pham
  • 5,988
  • 2
  • 21
  • 46

1 Answers1

1

if you have custom dialog, so you can set editText to request focus... So it'll show up keyboard:

<EditText
  ...  >
     <requestFocus />
</EditText>
yahya
  • 4,552
  • 2
  • 37
  • 56