×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Retrieving the current active profile on Symbian

From Nokia Developer Wiki
Jump to: navigation, search
debjit.roy (Talk | contribs)
(Debjit.roy -)
hamishwillee (Talk | contribs)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
[[Category:Technical Solution]][[Category:Symbian C++]][[Category:S60 3rd Edition, Feature Pack 1]]
+
{{Archived|timestamp=20120314053225|user=roy.debjit| }}
{{KBTS}}
+
[[Category:Symbian C++]][[Category:S60 3rd Edition FP1]]
__NOTOC__
+
__NOEDITSECTION__
+
  
  
  
{{ArticleMetaData
+
{{ArticleMetaData <!-- v1.2 -->
|id=TSS000513
+
|platform=S60 3rd Edition, FP1
+
|devices=
+
|category=Symbian C<nowiki>++</nowiki>
+
|subcategory=
+
|creationdate=November 30, 2006
+
|keywords=
+
 
+
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
+
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
|devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) -->
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
+
|platform= S60 3rd Edition, FP1
|capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) -->
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|author=[[User:Technical writer 2]]
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20061130
 +
|author= [[User:Technical writer 2]]
 +
<!-- The following are not in current metadata -->
 +
|subcategory=
 +
|id= TSS000513
 
}}
 
}}
  
{{Archived|timestamp=20120314053225|user=roy.debjit| }}
 
 
== Overview ==
 
== Overview ==
 
Retrieving the current active profile of the device
 
Retrieving the current active profile of the device

Latest revision as of 09:19, 14 June 2012

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
Compatibility
Platform(s): S60 3rd Edition, FP1
S60 3rd Edition FP1
Article
Created: User:Technical writer 2 (30 Nov 2006)
Last edited: hamishwillee (14 Jun 2012)

[edit] Overview

Retrieving the current active profile of the device

[edit] Description

Retrieving the current active profile of the device using the Profiles Engine Wrapper API.
The 2 header files that need to be included are mproengengine.h and proengfactory.h
The library that needs to be included is ProfileEngine.lib
Below are the example codes.
MProEngEngine* engine = ProEngFactory::NewEngineLC();
TInt activeId( engine->ActiveProfileId() );
The return values of ActiveProfileId() are:
0 - General
1 - Silent
2 - Meeting
3 - Outdoor
4 - Pager
5 – Offline

This page was last modified on 14 June 2012, at 09:19.
57 page views in the last 30 days.
×