Background:

- SDK: 1.1
- Users leaving comments that soft keyboard doesn't work - none
emailing or visiting web site to enter support request so that I can
get any more information.
- Own ADP1 and can't afford to buy another physical phone.

Problem:

My application uses a custom made view and therefore isn't recognized
automatically as needing text input. With physical keyboard,
everything is fine. Focused view handles keyboard activity without
incident.

Posts here by Dianne Hackborn (Google employee working on Android
platform) indicate "Long pressing on menu will always open the
keyboard." So this is what I've suggested. Comments return that long
press menu does not work. I think this user is using HTC Hero, but
can't confirm. I've suggested that they make sure the Settings |
Locale ...| Keyboard option is checked. Can't confirm (unable to
contact user due to Market restrictions).

Dianne further states that "You'd need to do something interesting in
your app to prevent the keyboard from showing up on a device without a
hard keyboard." I'm willing to entertain that I've done something
"really interesting" (or stupid if that better suits) but I am at a
loss to know what that might be.

I set up an ADV emulator with the 1.5 r3 version of android and
removed the physical keyboard. The long-press menu works as expected
and I can bring up the soft keyboard without issue. The keys, when
pressed, behave as expected.

Need Help:

I figure that I've got a couple of ways to go here.

1. Google confirms that long-press menu will always bring up the soft
keyboard as long as "fill in blank" conditions are met. (Preferred
method)

2. Upgrade the application to SDK 1.5 and force the soft keyboard to
display under the appropriate circumstances.

- Not sure what version my customers are using as some must have the
G1 with physical keyboard or are getting the soft keyboard to work
without issue. Don't want to strand my 1.1 customers if they haven't
updated the OS or the update hasn't been provided by their service
provider. I have no way to tell who is on what version. But I guess I
will need to do this if necessary.

- If I do this, how do I detect whether there is a physical keyboard?
I'd rather not have the app always show the soft keyboard if a
physical keyboard exists.

3. Something else that I haven't considered. Happy to entertain
suggestions.

Thank you in advance for any assistance.

Best Regards,
Eric

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