问题
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