×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Location Settings Launch Symbian API

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Merge KB into wiki)
lpvalente (Talk | contribs)
m (Lpvalente -)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{Archived|timestamp=20120313122051|user=roy.debjit| }}
 
 
[[Category:Symbian C++]][[Category:S60 3rd Edition FP2]][[Category:Code Examples]][[Category:Code Snippet]]
 
[[Category:Symbian C++]][[Category:S60 3rd Edition FP2]][[Category:Code Examples]][[Category:Code Snippet]]
 +
{{Archived|timestamp=20120313122051|user=roy.debjit| }}
 +
 
{{ArticleMetaData <!-- v1.2 -->
 
{{ArticleMetaData <!-- v1.2 -->
|sourcecode= [[Media:LocalSettingUi.zip]]  
+
|sourcecode= [[Media:LocalSettingUi.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]]) -->
 
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
Line 34: Line 35:
 
==Purpose==
 
==Purpose==
  
The Location Settings Launch API is used for launching the Location Notation Prefences Settings UI and the Position Method Settings UI.
+
{{Abstract|The Location Settings Launch API is used for launching the Location Notation Prefences Settings UI and the Position Method Settings UI.}}
  
 
==Header files==
 
==Header files==

Latest revision as of 17:18, 4 October 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
Code ExampleCompatibility
Platform(s): S60 3rd Edition, FP2
S60 3rd Edition FP2
Article
Keywords: Location Settings Launch API
Created: User:Technical writer 1 (13 Jun 2008)
Last edited: lpvalente (04 Oct 2012)


Note.pngNote: :This API is not part of the public SDK. It can be found in the SDK API Plug-in.

Contents

[edit] Purpose

The Location Settings Launch API is used for launching the Location Notation Prefences Settings UI and the Position Method Settings UI.

[edit] Header files

 locsettingsuiclient.h

[edit] Link against

 locsettingsuiclient.lib


[edit] Code examples

The client-side resource class to launch the Location settings UI is done using the CLocSettingsUiClient class. The following code is used to initialize the class.

 CLocSettingsUiClient* iLocSettingsUi = CLocSettingsUiClient::NewL();

Launching the Position Method Settings UI:

 // UID for launching Position Method Settings 
// const TInt KLocPsySettingsUID = 0x10275062;
TRAPD(err, iLocSettingsUi->LaunchSettingsUiAsEmbeddedAppL(TUid::Uid
(KLocPsySettingsUID),KDefaultParamValue,iStatus));

Launching the Location Notation Preferences Setting UI:

 // UID for launching Location Notation Prefences Settings UI is 
// const TInt KLocNotPrefSettingsUID = 0x1020690F;
TRAPD(err, iLocSettingsUi->LaunchSettingsUiAsEmbeddedAppL(
TUid::Uid(KLocNotPrefSettingsUID), KDefaultParamValue, iStatus ));

Canceling an already launched settings UI:

 iLocSettingsUi->CancelLaunchedSettingsUi();

Releasing code:

 delete iLocSettingsUi;


[edit] Example project

File:LocalSettingUi.zip

This page was last modified on 4 October 2012, at 17:18.
78 page views in the last 30 days.
×