This example shows how to get the current active theme and also to set a specific theme for a MIDlet. It demonstrates the usage of the Theme API on Nokia Asha software platform 1.4 and how to use themes in your MIDlet.
Figure: Getting current theme and setting a new theme
For a developer guide that shows you how to use the Theme API to create this MIDlet, see Theme API.
You need the following to develop and test this MIDlet:
Nokia IDE for Java ME (Eclipse) or NetBeans with Java ME support
Nokia Asha SDK 1.2
Nokia Asha software platform 1.4 device.
For instructions on how to get started with Java ME, see section Getting started.
This MIDlet is compatible with Nokia Asha software platform 1.4 for Nokia Asha software platform devices and newer.
The MIDlet distributable and source files are packaged as a zip file. To download the zip file, click the following link:
MIDlet version |
1.0 |
Creation date |
10 March 2014 |
IDE |
Nokia IDE for Java ME (Eclipse) and NetBeans |
SDK |
Nokia Asha SDK 1.2 |