As a workaround for Android 2.3.3, I can now use the 4 lines

   imm.hideSoftInputFromWindow(myView.getWindowToken(),0);
   imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
   imm.hideSoftInputFromWindow(myView.getWindowToken(),0);
   imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);

to have the soft keyboard pop up right away. Is the need for this a
bug in Android 2.3.3?
Like I said I did not need this in Android 1.6 or 2.2.

Thanks

On Sep 1, 2:44 pm, blindfold <seeingwithso...@gmail.com> wrote:
> I recently upgraded the firmware of my HTC Desire from 2.2 to 2.3.3,
> and since then I find that after starting an Activity I need to call
>
>    toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
>
> exactly *3* times before it pops up the soft keyboard. After that it
> works upon every call until I restart my Activity. I did not have this
> problem in Android 2.2, and my old ADP1 running Android 1.6 also
> always pops up the soft keyboard upon a first call.
>
> Anyone else experiencing this?
>
> Thanks!

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

Reply via email to