This project is read-only.

Multi-Resolution Graphics Strategy (Windows Mobile Target)

Dec 12, 2009 at 2:46 PM
Edited Dec 12, 2009 at 2:47 PM

Since Windows Mobile supports different DPI’s it may be desirable to supply assets that are higher resolution for higher DPI type devices.  This can be accomplished by creating a directory off of your main content directory that is named the value for the DPI you are targeting, and then putting our graphics assets in those directories. 

If your device is 640x480 or 800x480, the DPI is most likely 192.  If it is 320x240 it is most likely 96. 

So for a device with 192 DPI, it will look for the asset Ball.png in this directory first.

If the asset is not there, it will then look in the default location, without the DPI sub-directory.

This works with both files on the device and embedded resources.