Android_programmer_camera
Android_programmer_camera

Reputation: 13349

Not able to set actual device resolution in Emulator

I am developing an application which I need to test in Samsung I9000 whose resolution is 480*800. But when I try to create a AVD Emulator with 480*800 resolution, I am getting a very big resolution. How to get the screen resolution of Emulator similar to Device. I will be waiting for valuable reply.

Upvotes: 3

Views: 831

Answers (2)

Peter Nelson
Peter Nelson

Reputation: 5957

Go to Window > Android SDK and AVD Manager > New and in the Create New Android Virtual Device in the Skin section you should be able to do it. Is that what you tried? What exactly do you mean when you say you are getting a "very big resolution"?

Upvotes: 0

Octavian Helm
Octavian Helm

Reputation: 39604

You can let the emulator scale itself to a real display size if you start the emulator manually. Using Eclipse you can achieve this by navigating to Window->Android SDK and AVD Manager then select a device and hit Start... in the popup which appears (Launch Options) you just check the Scale display to real size checkbox and set the screen size in inches and the monitor dpi. If you don't know your monitor dpi hit the question mark ? and another popup will appear helping you to get the correct value. When all values are set just hit Launch and your are good to go.

Upvotes: 2

Related Questions