×
Namespaces

Variants
Actions

Archived:Controlling LED on Nokia E61 for incoming messages

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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 E61
Compatibility
Platform(s): S60 3rd Edition, Enterprise Solutions SDK Plugin
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 2 (29 Dec 2006)
Last edited: hamishwillee (14 Jun 2013)

Overview

Controlling LED on Nokia E61 for incoming messages

Description

The LED on the front panel of the Nokia E61 flashes to announce the arrival of new messages. This can also be controlled using Publish & Subscribe keys.
Solution:
    // iProperty is of type RProperty
    iProperty.Attach( KPropertyUidEmailLedCategory, KEmailLEDOnRequest );
    iProperty.Subscribe( iStatus ); // subscribe to LED status changes (using an active object)
    // to switch on LED blinking
    iProperty.Set( 1 );
    // to switch off LED blinking
    iProperty.Set( 0 );
KPropertyUidEmailLedCategory and KEmailLEDOnRequest UIDs are defined in the emailledvalues.h header in the Enterprise Solutions SDK.
The Enterprise Solutions SDK is available only in Nokia Developer PRO.

This page was last modified on 14 June 2013, at 09:57.
40 page views in the last 30 days.