In Ubuntu 12.04, I’m not able to write on edittexts using the computer keyboard… Someone knows how to solve this issue?
Thanks in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
(I’m assuming you’re working with the emulator here)
Even though the developer documentation says keyboard support is enabled by default it doesn’t seem to be that way in SDK rev 20. I explicitly enabled keyboard support in my emulator’s config.ini file and that worked!
Add:
hw.keyboard=yesTo:
~/.android/avd/<emulator-device-name>.avd/config.iniReference: http://developer.android.com/tools/devices/managing-avds-cmdline.html#hardwareopts
On Mac OS and Linux you can edit all of your emulator configurations with one Terminal command:
for f in ~/.android/avd/*.avd/config.ini; do echo 'hw.keyboard=yes' >> "$f"; done