Open soft keyboard with button?

15 views
Skip to first unread message

Markus

unread,
Jun 26, 2009, 8:16:30 AM6/26/09
to android-porting
Hi,

we have written an own soft keyboard for our hardware. Unfortunately,
our hardware does not have a touchscreen. Is there are way to call the
soft keyboard with a button? In a development version of Android, we
could use SYM as keycode, but this does not work anymore. It just
opens the soft keyboard selection, but not the keyboard itself.

bye
Markus

Dianne Hackborn

unread,
Jun 26, 2009, 8:40:50 PM6/26/09
to android...@googlegroups.com
Ouch my head hurts.  What in the world is the point of showing a soft keyboard when there is no touch screen?!?

Anyway, you can use the InputMethodManager class to show or hide the current soft keyboard.  I really don't understand what you mean about using SYM to show a soft keyboard, I don't think it ever would have done such a thing.
--
Dianne Hackborn
Android framework engineer
hac...@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.

Reply all
Reply to author
Forward
0 new messages