How to Determine the LCD?
If you are looking for something more than the W3C DDC guidelines, you may be
interested in finding out the capabilities of different devices to decide on your own
what features you want to use in your application. There is a nice tool that allows
you to search on device capabilities and compare them side by side. Take a look at
the following screenshot showing mDevInf (http://mdevinf.sourceforge.net/)
in action, showing image formats supported on a generic iMode device.
Chapter 4
[ 75 ]
You can search for devices and compare them, and then come to a conclusion about
features you want to use.
This is all good. But when you want to cater to wider mobile audience, you
must consider adaptation. You don't want to fight with browser quirks and silly
compatibility issues. You want to focus on delivering a good solution. Adaptation
can help you there.
OK, So How do I Adapt?
You have three options to adapt:
1. Design alternative CSS: this will control the display of elements and images.
This is the easiest method. You can detect the device and link an appropriate
CSS file.
2. Create multiple versions of pages: redirect the user to a device-specific
version.
Pages:
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113