On Tue, Sep 15, 2009 at 6:53 PM, Dan Raaka <[email protected]> wrote:
>
> Given the physical size of the monitor and the set resolution,
> is there a way to set the emulator image to appear as the same size of
> the device ?

Sure.
Figure out the dpi of your monitor.

Then call the emulator with the following option: -scale <yourmonitordpi>dpi.

For example: 'emulator -scale 96dpi'

This will automatically compute a scale factor between the AVD dpi and
your monitor and display it scaled to be a real life size of the
emulated device.

(You can also compute the factor manually and do '-scale 0.6' for instance)

Xav
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to