Archived:Using Nokia 3220 light effects in MIDlets (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Article Metadata
Tested with
Devices(s): Nokia 3220
Article
Created: User:Technical writer 1
(January 20, 2005. Updated February 3, 2005.)
Last edited: hamishwillee
(28 Jun 2012)
Overview
Playing MIDI files with lights track in MIDlets has no effect on the LEDs.
It is possible to use these lights in MIDlets by using Nokia UI API's DeviceControl.setLights(int num, int level) method.
Description
Using the light effects in MIDlets in Nokia 3220 is done by using Nokia UI API's DeviceControl.setLights(int num, int level) method. The parameters should be:
- num = 1, for using the light effects;
- level = 0 between 64,
Different values are representing different light sequences.
See also the technical note Nokia UI API Extension For Nokia 3220 Lights.


(no comments yet)