×
Namespaces

Variants
Actions

Archived:Setting the active profile in S60 3rd Edition FP1 using the Profile Engine Wrapper API

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 6110 Navigator
Compatibility
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP1
Article
Created: User:Technical writer 2 (16 Apr 2007)
Last edited: lpvalente (18 Nov 2012)

Overview

Setting the active profile in S60 3rd Edition, FP1 using the Profile Engine Wrapper API.

Description

Profile Engine Wrapper API allows you to set the active profile.

Solution

The code snippets below demonstrate how to set your current profile to Silent.

You need to include the ProfileEngine.lib in your mmp file. The required header files are: mproengengine.h, proengfactory.h, profile.hrh

MProEngEngine* engine = ProEngFactory::NewEngineL();
CleanupReleasePushL(*engine);
engine->SetActiveProfileL(EProfileSilentId);
CleanupStack::PopAndDestroy(1);
This page was last modified on 18 November 2012, at 00:46.
45 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×