Symbian OS
read last symbian news on www.newlc.com read last symbian reviews on www.newlc.com
read last symbian tutorial on www.newlc.com read last symbian download on www.newlc.com
21 mars 2007 - 13:18

The Platform Security was introduced from Symbian V9.0, this means proividing security to the user data and software, hardware of the machine by restricted / controlled access to them.

So the Symbian Developers requires some privileges to access the platform for their applications developed for the S60 3rd Edition (or UIQ3) devices. These privileges are name Capabilities. These capabilities are defined for signed applications, because certain APIs are restricted to use unless the capability is granted before the application uses the feature.

The Three broad Capabilities are 1) TCB 2) USER 3) System Capability

TCB : "Trusted computing Base "

The components with these capability have access to sensible system features, like private directories on the file systems. These capabilities are generally not granted to third party applications and requires an agreement with the phone or platform manufacturer to have them.

The TCB includes Operating System kernel,file server ,MMU etc.

User

NetworkServices: dialing a number or sending a text message and accessing the remote services.

LocalServices: This capability is for sending or receiving information through USB, IR, and point-to-point Bluetooth profiles.

ReadUserData : Grants read access to user data. System servers and application engines are free to grant this restriction level to their data.

WriteUserData : Grants write access to user data. Again, system servers and application engines are free to grant this restriction level to their data.

Location : Grants access to the location of the phone.

UserEnvironment: Grants access to live confidential information about the user and his/her immediate environment.

System Cabability:

These API's under these capbilities has access to sensitive parts of the machine which due programatical errors may corrupt the phone's Software and hardware. So these capabilities are granted only after symbian signed which after testing is done.

ALLFiles,SwEvent,WriteDeviceData,PowerMgmt,Drm, etc.

How to assign capabilities:

The capabilites are assigned in MMP file using CAPABILITY keyword.

CAPABILITY  ReadUserData   DiskAdmin

or

CAPABILITY   ALL -ALLFiles  Drm

it means all capabilites are included except AllFiles and Drm

Depending on our application and depending on what are the API's we are using in our application demands the capabilities required in our Project .

for E.g: DataFileSave() requires capability WriteDeviceData and WriteUserData

Tutorial posted mars 21st, 2007 by kishore

Soumis par srikanth.convertz le lun, 2007-12-31 06:31.

Hi I'm developing Application for 3rd Edition whic requires to Close Installer Application
through My Application
I Used TApaTask::EndTask("Installer");
And I'm using developer certficate and PowerMngmt Capability
But Installer is not being closed.
From the above tutorial u say
PowerMngmt is System Capability, which is granted only After Symbian Signed,
My Problem is I have to develop Application based on this installer,And
If Application Is working well then I can send it to Symbian Signed,
Exactly I want to Know How Do I get PowerMngmt Capability
To get my Application done so that It can be sent to Symbian Signed.

Regards
Srikanth


Soumis par kishore le jeu, 2008-01-03 04:52.

Hi Srikanth,

For the Developers to test thier application on reference hardware prior to the application being submitted to Symbian Signed. However, without possessing a signed certificate, the application cannot be loaded on the phone for testing. Rather than relying just on the
emulator or a special “all capability” enabled phone for the testing, Symbian will be
providing “Development” certificates, which will be specific phones with IMEI as reference
and allow applications to be tested on standard phones.
Further details are available from http://www.symbiansigned.com/app/page/devcertgeneral.


Soumis par kishore le jeu, 2008-01-03 04:57.

More precisely the division of capabilites are

There capabilites which are granted after:

Symbian Signed are
LocalServices, Location, NetworkServices, PowerMgmt, ProtSrv, ReadDeviceData, ReadUserData, SurroundingsDD, SWEvent, TrustedUI, UserEnvironment, WriteDeviceData, WriteUserData

Manufacturer approved (e.g. Nokia, Sony Ericsson)
AllFiles, CommDD, DiskAdmin, DRM, MultimediaDD, NetworkControl, TCB



copyright 2003-2009 NewLC SARL