×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    292

    How to know the all the API(functions ) required which capabilities!

    Hi :

    I want to know does there exist any tool (or anyway) to figure out the API and corresponding capability required.

    I have tried one approach i.e enable capability check and assign no capability to the project then run the project see the log in epocwind.out but the problem is that request of API is not successful without cap. thus my project goes into unstable state.

    Regards
    Manish

  2. #2
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: How to know the all the API(functions ) required which capabilities!

    Quote Originally Posted by manish.agarw View Post
    Hi :

    I want to know does there exist any tool (or anyway) to figure out the API and corresponding capability required.

    I have tried one approach i.e enable capability check and assign no capability to the project then run the project see the log in epocwind.out but the problem is that request of API is not successful without cap. thus my project goes into unstable state.

    Regards
    Manish

    A The Help documentation in the S60 3rd Edition SDKs provides general guidance on which platform security capabilities are required for various APIs. The capabilities that an application requires can be confirmed in the S60 emulator. When the option "Enable Debug Security Messages" and "Enable EPOCWIND.OUT Logging" are selected in the emulator's Preferences dialog (or PlatSecDiagnostics set to ON and LogToFile set to 1 in the emulator’s epoc.ini file), a log file is created in the Windows “temp” folder called epocwind.out that includes warning messages indicating the capabilities needed by the application.

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    292

    Re: How to know the all the API(functions ) required which capabilities!

    Hi :

    That's ok what u have said but there is an issue with this approach i.e how do i know which API required which CApabilities as output in the log window is in that format :


    for ex :

    65.280 HTTPPLUGIN:MHFRunL: EGotResponseHeaders (4)
    65.280 *PlatSec* WARNING - Capability check would have failed - A Message (function number=0x00000000) from Thread Naukri[e330de21]0001::Naukri, sent to Server CookieServer, was checked by Thread CookieServer.exe[101f8530]0001::!CookieServer and was found to be missing the capabilities: WriteDeviceData . Additional diagnostic message: Checked by CPolicyServer::RunL
    65.285 *PlatSec* WARNING - Capability check would have failed - A Message (function number=0x00000000) from Thread Naukri[e330de21]0001::Naukri, sent to Server CookieServer, was checked by Thread CookieServer.exe[101f8530]0001::!CookieServer and was found to be missing the capabilities: WriteDeviceData . Additional diagnostic message: Checked by CPolicyServer::RunL
    65.370 HTTPPLUGIN:MHFRunL: EGotResponseBodyData (5)


    that doesn't specify the API []


    Regards
    Manish

  4. #4
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    292

    Re: How to know the all the API(functions ) required which capabilities!

    got the solution

    The second way is to select the .mmp file in the Project Explorer window from within Carbide.c++ and select Project, Run Capability Scanner on Project MMP. The results will be displayed in a new Platform Security window


    content took from this link
    http://developer.symbian.org/wiki/in...Symbian_Signed)

    Regards
    manish

  5. #5
    Registered User
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998

    Re: How to know the all the API(functions ) required which capabilities!

    Quote Originally Posted by manish.agarw View Post
    got the solution

    The second way is to select the .mmp file in the Project Explorer window from within Carbide.c++ and select Project, Run Capability Scanner on Project MMP. The results will be displayed in a new Platform Security window


    content took from this link
    http://developer.symbian.org/wiki/in...Symbian_Signed)

    Regards
    manish
    Its already documented here.

Similar Threads

  1. Updated list of required capabilities for API's?
    By mayur_24 in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 9
    Last Post: 2008-05-13, 13:30
  2. What Capabilities are required for PyNetMony?
    By rohitc@cs.washington.edu in forum Symbian
    Replies: 0
    Last Post: 2008-02-27, 07:06
  3. carbide-error
    By upendersolanki in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2008-02-06, 11:09
  4. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  5. Problem with Cabride.c++ v1.1
    By markovuksanovic in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-01-24, 20:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×