Namespaces
Variants
Actions

Archived:Controlling LED on Nokia E61 for incoming messages

Jump to: navigation, search
Archived.png
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 E61

Compatibility
Platform(s): S60 3rd Edition, Enterprise Solutions SDK Plugin

Article
Created: User:Technical writer 2 (29 Dec 2006)
Last edited: hamishwillee (14 Jun 2012)

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 2012, at 09:23.
222 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved