I found the problem.  Apparently, in only this case, I was calling the
'registerFocus' method before I had made the parent view the active
view.  Switching the order of the calls fixes the problem.

Thanks.

On Nov 12, 11:19 am, John Gaby <jg...@gabysoft.com> wrote:
> Update:
>
> I am doing a 'requestFocus' after I create the control to
> automatically set the focus so the user can start typing without
> having to touch the control.  I find that if I remove the
> 'requestFocus' call, then the keyboard shows up.  Note that I have
> other EditText controls where I am doing the same thing (i.e. calling
> requestFocus), and the soft keyboard works fine, even with that call
> in place.  Does anyone have any ideas why I cannot set the focus on
> this particular control and still have the soft keyboard work?
>
> Thanks.
>
> On Nov 12, 10:39 am, John Gaby <jg...@gabysoft.com> wrote:
>
> > I have an EditText control that does not pop up the soft keyboard when
> > the user touches it.  The thing is, that I have a number of other
> > EditText controls elsewhere in my application that all work fine, and
> > I cannot see anything really different about this one.  The code is a
> > bit complex to post here, but I was wondering if anyone knows of any
> > reasons why the soft keyboard would not appear in some cases.
>
> > 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