You Are Here:

Community: Wiki

This page was last modified on 23 June 2008, at 17:27.

How to switch on the email LED indicator in S60 devices ?

From Forum Nokia Wiki

There is an API for controlling Email LED on S60 devices( available in the new E-Series plugin SDK ). The main Purpose of this API is to control Email LED of device via Publish&Subscribe API. So the 3rd party applications can set Email LED blinking but cannot stop blinking programmatically. Any user activity stops the blinking LED indicator.

Here is the code snippet for demonstrating the functionality:

Header file: EmailLedValues.h, e32property.h
Library: euser.lib
TInt retVal = KErrNone;
retVal = RProperty::Set( KPropertyUidEmailLedCategory, KEmailLEDOnRequest, KSetEmailLedOn );
if( retVal != KErrNone )
{
switch( retVal )
{
case KErrNotFound:
{
// Property was not defined. Device does not have an Email LED.
CEikonEnv::InfoWinL(_L("No Email LED indicator"),_L(""));
}
break;
default:
{
// Some other error.
}
break;
}
}

The URL for downloading E-Series plugin SDK for 3rd edition and 3rd edition FP1 devices is given below:

http://www.forum.nokia.com/info/sw.nokia.com/id/c136eec5-5496-43cc-be53-83a7a6ed8a31/Nokia_Eseries_SDK_Plug-Ins_for_S60.html

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fE25E455E259CE25A8E25E454E25BBE25A3E25E457E25A0E2581E25E454E25B8E25AE44E25E457E2594E259FE25E456E2588E2590E25E457E2594E25B5E25E455E25AE44E2590E25E459E2582E25AE45E25E454E25BBE25B6E25E455E25B8E2590E25E456E2588E25B7X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZemailQ qfnZtopicQUqfnTopicZmessagingQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ