You Are Here:

Community: Wiki

This page was last modified on 13 October 2008, at 19:55.

CS001035 - Location Settings Launch API

From Forum Nokia Wiki



ID CS001035 Creation date June 13, 2008
Platform S60 3rd Edition, FP2 Tested on devices
Category Symbian C++ Subcategory Location


Keywords (APIs, classes, methods, functions): Location Settings Launch API


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


Purpose

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

Header files

 locsettingsuiclient.h

Link against

 locsettingsuiclient.lib


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;


Example project

File:LocalSettingUi.zip

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia