Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:48, 29 August 2007.

TSS000715 - Retrieving profile information on S60 3rd Edition

From Forum Nokia Wiki


Subject:

Retrieving profile information on S60 3rd Edition

TSS000715

 

Platform(s): Device(s), SW version(s):
S60 3rd Edition,
S60 3rd Edition, FP1
 

Category:

Symbian C++

Subcategory:

Applications & PIM

Description:

Description:
Detailed information about profiles, such as the number of defined profiles and their names can be retrieved with the Profiles Engine API, included in the Extensions plug-in package for S60 3rd Edition SDK.
Solution:
The following code example can be used for finding out the name of every profile in a device.
    #include <mprofileengine.h>         // link against ProfileEng.lib
    #include <MProfilesNamesArray.h>
    MProfileEngine* profileEngine = CreateProfileEngineL();
    CleanupReleasePushL( *profileEngine );
    MProfilesNamesArray* profileNames =
        profileEngine->ProfilesNamesArrayLC();   
    for( TInt i = 0; i < profileNames->MdcaCount(); ++i )
        {
        // Name of each profile is returned by
        // profileNames->ProfileName(i)->Name();
        }
    CleanupStack::PopAndDestroy(2); // profileNames, profileEngine

Creation date:

July 4, 2007

Last modified:

-
Related Discussions
Thread Thread Starter Forum Replies Last Post
S60 3rd for .NET tools Eugeniy Kiver Symbian Tools & SDKs 8 2007-05-05 15:14
Help.... Carbide.ui S60 Theme Edition 3.1 Musimusi Themes/Carbide.ui 9 2007-08-10 00:41
Problems accessing System.out on Nokia 6110 sgreenhill Mobile Java Tools & SDKs 9 2008-05-18 16:15
S60 Theme Studio 3.0 - basegraphics or series60_26_phone krantz123 Graphics & Video & Streaming 1 2006-04-10 12:12
What's the .dep file? play_zone Carbide.c++ and CodeWarrior Tools 4 2008-09-28 15:40
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZTechnicalSolutionQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX