Join Now
Quality Rating:
  • Currently 4.0 / 5
(4.0 / 5 - 1 vote cast)
Expertise Level:
  • Currently 2.0 / 5
(2.0 / 5 - 1 vote cast)

This page was last modified 17:20, 23 June 2008.

How to set the ringing tone 3rd edition, FP1 using the Profile Engine Wrapper API?

From Forum Nokia Wiki

The required library is ProfileEngine.lib

The required header files are: mproengengine.h, proengfactory.h, mproengprofile.h, mproengtones.h

The required capability is WriteDeviceData

MProEngEngine* engine = ProEngFactory::NewEngineL();
 
CleanupReleasePushL(*engine);
 
MProEngProfile* activeProfile = engine->ActiveProfileL();
 
CleanupReleasePushL(*activeProfile);
 
MProEngTones& tones = activeProfile->ProfileTones();
 
_LIT( KToneName, "C:\\Data\\Sounds\\Digital\\Pokiri.mp3" );
 
TInt error = tones.SetRingingTone1L(KToneName);
 
activeProfile->CommitChangeL();
 
CleanupStack::PopAndDestroy(2);
Related Discussions
Thread Thread Starter Forum Replies Last Post
Profiles reallife47 Python 1 2008-05-19 05:14
Screen saver API in 3rd edition magicdave Symbian Media (Graphics & Sounds) 5 2007-10-30 13:49
help symbianyucca?? dips05 General Symbian C++ 0 2005-11-22 08:45
Carbide.c++ Express Problems NigelT Carbide.c++ and CodeWarrior Tools 14 2007-04-05 10:57
Custom MIDI files as ringtones on 3650 aehrath General Symbian C++ 1 2003-06-29 11:41
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZaudioQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX