Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator Keyboard not displaying

Tags:

android

Just installed the android sdk on my macbook pro. I created a virtual device, allotted 50mb worth of memory in android 3.0. I ran the emulator, and Android_ displays on the left, but the keyboard interface does not display on the right. I have hw.keyboard.lid enabled. Not sure if that has anything to do with it.

like image 843
STANGMMX Avatar asked Apr 27 '11 23:04

STANGMMX


People also ask

How do I see which keyboard is visible on Android?

Android provides no direct way to determine if the keyboard is open, so we have to get a little creative. The View class has a handy method called getWindowVisibleDisplayFrame from which we can retrieve a rectangle which contains the portion of the view visible to the user.

How do I force keyboard to open on Android?

To be able to open it anywhere, you go into the settings for the keyboard and check the box for 'permanent notification'. It will then keep an entry in the notifications which you can tap to bring up the keyboard at any point.


1 Answers

This is how to make emulator to show soft keyboard:

Device settings > Language and Input > Default > Hardware (Physical Keyboard) > set to Off.

like image 189
user1995307 Avatar answered Oct 08 '22 21:10

user1995307