How to create 7" Tablet (1280 * 800) Screen Resolution Emulator in Android?

笑着哭i 提交于 2020-01-01 10:13:24

问题


I need to test my application on Android Springboard tablet.

http://www.slashgear.com/t-mobile-springboard-tablet-review-07193734/

I need to create emulator for 1280 * 800 screen resolution and 7" Tablet for android 3.0 / 3.1 or above...

When i create emulator for 1280 * 800 screen resolution its consider by default 10" tablet..

Any one please suggest me how to create for specified screen and specified 7" tablet...

Thanks


回答1:


Modify

Abstracted LCD Density

So, if you have same number of pixels with more screen density, it's got to be a smaller screen.

The formula is:

DENSITY = sqrt (x^2+y^2)/d where d is the diagonal in inches.

So, supposing you want a d=7", then you need a density of:

Density=sqrt(1280x1280+800*800)/7 = 215'6339

So, fix the ABSTRACTED LCD DENSITY to 216 and there you are.




回答2:


Had this issue ..But with android 4.1 we can create an AVD that has option WXGA800-7in (1280x800, high density, large screen) : Reference: http://developer.android.com/tools/revisions/platforms.html




回答3:


Once you create new emulator, take a look at Screen Resolution Field in the dialog box. Set your desired resolution. Now before starting the emulator Check and specify size.. Hope this helped you.

Edit Take a look at snap shot..



来源:https://stackoverflow.com/questions/8075940/how-to-create-7-tablet-1280-800-screen-resolution-emulator-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!