![]() |
home
forum
orange partner |
|
|
Table of Contents
Devices and emulatorOverviewThe OrangeML solution ensure that the rendering is optimized whatever the device, so normally you don't have to make tests on your side. During the development phase, using an emulator is normally sufficiant and highly preferrable. However, you have to keep in mind that the mobile environment has a lot of constraints, mainly related to the screen width EmulatorTesting on actual handset could be sometimes a nightmare. Then using an emulator could be very useful during the development phase of your service. The easiest solution is to use Firefox and its user agent switcher extension.
Now you can switch among a couple of typical device profiles from Firefox, simply by clicking on tools/user agent switcher. Supported devicesYou can access to the full list of supported devices here. Device constraintsScreen widthThis is one of the main (and quite obvious) aspect of the mobile environment: The width of a mobile screen is very limited. It obviously affects the size of the image (cf. next section) but it mainly affects the length of the text. If we consider the Orange France traffic (which is quite significant), we should consider 4 significant categories in terms of width in pixels:
and 5 significant categories in terms of number of characters per lines:
So at the end of the day :
As a conclusion, the ultimate rule to consider when designing mobile pages is the following : Never more than 25 characters per lines Textual contentIf necessary, you can use the UsableWidthChar filtering expression to adapt the content of your page to the device capabilities, but most of the time, it sufficient to consider some basic rules such as:
ImagesNumber of imagesTry to reduce the number of images in your pages. Remember that the device has to send one request per image. On most devices, sending a request takes a lot of time and resoources, whatever the network, and then dramatically reduce the end-user experience. When it is possible, avoid “decoration” images such as icons, bullets, etc. Image sizesHere we only have to consider the width of the image. Except for exotic image ratios, having the right width is sufficient to garantee an optimized user experience. The image width to consider depends on the mode of the image.
Image formatsMost of the devices supports GIF and non progressive JPEG images. So using this kind of images should be sufficient to address almost all devices. Note that a few devices doesn't support properly GIF transparency. If an image has to be also available for black&White device, you should also consider WBMP images. Avoid progressive JPEG images, as it's ot supported by a significant number of devices. Remember that you can use the type attribute of the imgalt element to specify the format of your image. |