Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 11:07, 26 August 2007.

How to Add/Assign Capabilities to your Program.

From Forum Nokia Wiki

Adding capabilities is a very basic issue when developing for S60 3rd Edition. If you don't have the appropriate capability added to your program, you would not have access to some system resources or functionality.

You can add/assign Capability to your program by adding the CAPABILITY keyword in the .MMP file of your project.

Example : If your application wants to send an SMS, it would require the NetworkServices capability. You can add the capability as shown below.

CAPABILITY NetworkServices

If you are using Carbide.c++ version 1.2, you can add capabilities under the "options" tab when editing a .MMP file.

If you need to read a message from a file, you will need ReadUserData.

CAPABILITY ReadUserData

Note:

  • When you run your code on the emulator and look in the epocwind.out file, you will be able to see if you have got the correct capabilities specified in your .mmp file or not.
  • After adding capabilities, don't forget to rebuild your project.
Related Discussions
Thread Thread Starter Forum Replies Last Post
Unable to execute files for security reasons bnvaikos Symbian Signing, Certification and Security 4 2007-01-16 15:40
Nokia SIP plugin 3.0 - 415 Unsupported Media Type jrantam Symbian Networking & Messaging 3 2005-05-24 04:08
为什么总是这个错误? kck809 Symbian 5 2007-08-31 04:23
SIP Capabilities nrosario Symbian Networking & Messaging 0 2006-06-01 13:38
Dll library load error -46 komicek General Symbian C++ 2 2008-06-21 09:16
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX