This topic describes how to package the Privacy Controller with the capabilities Location, ReadDeviceData and WriteDeviceData.
The example below shows the MMP file for an example Privacy Controller.
/* ============================================================================ Name : LicenseeLBSPrivacyController.mmp Description : This is the project specification file for LicenseeLBSPrivacyController. ============================================================================ */ TARGET LicenseeLBSPrivacyController.exe TARGETTYPE exe UID 0x100039CE 0xE3753FED USERINCLUDE ..\inc SYSTEMINCLUDE \epoc32\include SYSTEMINCLUDE \epoc32\include\lbs SOURCEPATH ..\src SOURCE MyLBSPrivacyController.cpp LIBRARY euser.lib LIBRARY lbsprivacycontroller.lib LIBRARY lbsloccommon.lib // Required capabilities for a Privacy Controller
The most important points about this file are:
In this case target type is EXE and UID2 = 0x100039CE for a GUI app. A Privacy Controller could be implemented without a UI if user interaction is not required. The UID3 shown is just an example and for a real Privacy Controller a Symbian-issued UID must be used.
The Privacy Controller code needs to link to lbsprivacycontroller.lib and lbsloccommon.lib.
The Privacy Controller requires the capabilities Location , ReadDeviceData and WriteDeviceData .
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.