Android emulator for google nexus 7?

I would like to configure an Android emulator that will simulate a google nexus 7 device. It has a 7-inch display and a resolution of 1280x800.

Which value corresponds to the correct value for dpi? Is this value equivalent to the abstract density of the LCD in the hardware?

enter image description hereenter image description here

+4
source share
1 answer

Here is the answer for others with similar obscure information about the correct display settings in the Android emulator.

So, I set the abstract density of the LCD to 213 . This is the default value for Nexus 7. Because of this value, nexus cannot display full tablet mode. This value is specific to each device.

Then I set the resolution to 1280x800 and saved it. Then I click on the start emulator and set the following values ​​for the monitor.

I use a 15.4-inch monitor with a resolution of 1680 Γ— 1050 pixels . First, I set the tablet screen size ( 7 inches ) and then track dpi . When you click on the question mark, it will show you a new window with screen size and resolution . These values ​​are the values ​​of your PC monitor. When you fill in these values, it calculates your dpi. For me it's 129 . And finally, I run the emulator.

+2
source

Source: https://habr.com/ru/post/1445895/


All Articles