I have exactly the same requirement.

Running on a Hero, which only has a soft keyboard. The above code is
copied exactly, yet it doesnt work. The keyboard is not shown no
matter where I put the code, before or after SetContentView().

This seems like a pretty standard thing to want to do, is there some
other way of doing this?

Thanks in advance..
James

On Sep 19, 8:42 am, Dianne Hackborn <hack...@android.com> wrote:
> The G1 has a keyboard, so it works as I said -- the IME is not shown by
> default.  This is a policy decision of the platform.
>
> On a myTouch, since it doesn't have a keyboard, the IME will be shown by
> default in various cases (for example when you enter the edit contacts
> screen) when the app has indicated that is desired with the input options.
>
> On Fri, Sep 18, 2009 at 4:13 PM, Mike Collins <mike.d.coll...@gmail.com>wrote:
>
>
>
>
>
>
>
> > The behavior I'm talking about is on a locked G1 with 1.5, I did not
> > expect the
> > emulator to be very useful.
>
> > The behavior on a myTouch (locked, 1.5) is really bizarre.
>
> > I'm beginning to think that I'm going to pull all the soft keyboard
> > code out
> > and let the user do the extra work.
>
> >  mike
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.- Hide quoted text -
>
> - Show quoted text -

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