Series 40 devices use a number of different display resolutions, starting with the 128 x 128 pixel screens of early devices.
From Series 40 3rd Edition onwards, all devices support at least the 240 x 320 pixel resolution, also known as Quarter VGA (QVGA). The QVGA resolution is common enough to be recommended as the primary target resolution for designing MIDlet UIs.
To find out which devices use which display resolution, see Nokia Developer device specifications and filter devices based on display resolution.
Because of the variety of display resolutions, when displaying icons in a MIDlet, use vector graphics (SVG) icons whenever possible. Unlike bitmap icons, vector graphics icons can be scaled to any resolution.
To determine the color depth of a device, use the LCDUI Display.numColors.
The table below contains a list of all possible display resolutions and the Nokia platforms that support them.
Display resolution |
Supported platforms |
---|---|
128 x 128 |
Series 40 1st Edition Series 40 2nd Edition |
128 x 160 |
Series 40 1st Edition Series 40 2nd Edition Series 40 3rd Edition Series 40 3rd Edition Feature Pack 1 Series 40 3rd Edition Feature Pack 2 Series 40 5th Edition Lite Series 40 5th Edition Feature Pack 1 Series 40 5th Edition Feature Pack 1 Lite Series 40 6th Edition Lite Series 40 Developer Platform 1.0 |
208 x 208 |
Series 40 2nd Edition Series 40 3rd Edition Feature Pack 1 |
240 x 320 |
Series 40 3rd Edition Series 40 3rd Edition Feature Pack 1 Series 40 3rd Edition Feature Pack 2 Series 40 5th Edition Series 40 5th Edition Feature Pack 1 Series 40 5th Edition Feature Pack 1 Lite Series 40 6th Edition Series 40 6th Edition Feature Pack 1 Series 40 Developer Platform 1.0 Series 40 Developer Platform 1.1 Nokia Asha software platform 1.0 |
240 x 400 |
Series 40 Developer Platform 2.0 |
320 x 240 |
Series 40 6th Edition Series 40 Developer Platform 1.0 Series 40 Developer Platform 1.1 |
320 x 480 |
Series 40 6th Edition |
The minimum supported color depth is 16-bit. Newer devices support color depths up to 24-bit.
From Java Runtime 2.0.0 for Series 40 onwards, the UI is scalable between landscape and portrait mode, meaning that the width and height of the screen can be dynamically switched depending on device orientation. In landscape mode, some UI elements, such as the status bar can change places. MIDlets designed for a specific resolution can be scaled to other resolutions supported by the device.
The screen area available to a MIDlet can be reduced by the presence of native platform UI elements, such as the virtual soft keys, the header bar or the status bar. These elements can be optionally removed so that the application can use the maximum available screen area for its content. The table below shows the available to a MIDlet screen area in pixels, in portrait and landscape modes, for touch enabled Nokia devices.
Portrait mode |
Landscape mode |
||||||
Full Canvas |
With status bar |
With header bar and status bar |
With virtual soft and status bar |
Full canvas |
With status bar |
With header bar and status bar |
|
Nokia Asha software platform 1.0 |
240 x 320 |
240 x 302 |
N/A |
N/A |
320 x 240 |
N/A |
N/A |
Series 40 full touch |
240 x 400 |
240 x 382 |
240 x 342 |
N/A |
400 x 240 |
400 x 222 |
400 x 188 |
Series 40 touch and type |
240 x 320 |
240 x 290 |
N/A |
240 x 240 |
N/A |
N/A |
N/A |