Namespaces
Variants
Actions

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

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 6110 Navigator

Compatibility
Platform(s): 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.
120 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