Those 2 parameters do completely different actions. -dpi-device tells the system that it's running on a device running a low/medium/high density screen. This has an impact on which resources is being used when running the application. (see http://d.android.com/guide/topics/resources/resources-i18n.html#AlternateResources)
-scale <value>dpi will scale the emulator so that it emulate the screen real size. By the way, this actually use the value of -dpi-device (default is medium=160) to compute the scaling factor. For instance if you pass -scale 80dpi it'll display the emulator half as big. Xav On Fri, Oct 2, 2009 at 2:00 PM, Rmac <[email protected]> wrote: > > But -scale xxdpi does work instead. > > On Oct 2, 3:32 pm, Rmac <[email protected]> wrote: >> I am not seeing any difference in SDK 1.6 when changing the dpi >> parameter for the emulator. Can someone verify it is working in Donut? >> >> On Aug 24, 12:36 pm, Romain Guy <[email protected]> wrote: >> >> > This will be supported in Donut. >> >> > On Fri, Aug 21, 2009 at 10:05 PM, Daisong<[email protected]> wrote: >> >> > > I've launched emulator with -dpi-device option. >> > > But any icon size is not changed. >> > > Is there other options I must apply? >> >> > -- >> > Romain Guy >> > Android framework engineer >> > [email protected] >> >> > Note: please don't send private questions to me, as I don't have time >> > to provide private support. All such questions should be posted on >> > public forums, where I and others can see and answer them > > > -- Xavier Ducrohet Android SDK Tech Lead 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 -~----------~----~----~----~------~----~------~--~---

