I'd like to use an external keyboard. I have a Freedom Pro Bluetooth keyboard that can send keystroke info to Android applications. I am supposing that I can use InputMethodManager and associated framework to accomplish this, but I'm unsure whether it will be effective and useful.
In particular, I would like to use the connectbot application, and it would be extremely useful to receive keystrokes for ctl-c, ctl-d, etc. That application currently uses a hack approach involving the trackball to input ctl-keys. In my very superficial review of the Input Method Framework, I think I see that one could generate KeyEvent objects to send to the applications. But these are apparently raw key events, and the data domain of what can be sent does not seem to include regular-old byte values or sequences like 0x03 (for ctl-c as an example), but rather, physical keypresses. I'm inferring that applications like connectbot don't see byte streams like a tty device and that what I want to accomplish is logically impossible because they use the device at too low a layer. Am I barking up the wrong tree? -- 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