Multi-Resolution Graphics Strategy (Windows Mobile Target)

Coordinator
Dec 12, 2009 at 1:46 PM
Edited Dec 12, 2009 at 1: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. 

Example:
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.
/Content/192/Ball.png

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

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