I am struggling trying to have the soft keyboard appear in a search screen,
and from the looks of numerous pleas on various forums, I am not the only
one. I have tried many variants, culling from the byzantine attempts of
those others.

   InputMethodManager imm = (InputMethodManager) getSystemService
(Context.INPUT_METHOD_SERVICE);
   imm.showSoftInput (query, 0);

(for 0, substitute InputMethodManager.SHOW_FORCED or
InputMethodManager.SHOW_IMPLICIT.)

The problem seems to be that showSoftInput doesn't work from onCreate.

This is a very common need. Surely there is a reasonable solution to this
problem, or is it botched here?

P. V. Nasby
-- 
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