×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    May 2009
    Posts
    200

    Smile "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Capturing an image
    I added these codes to my app, when I clicked the app's icon in emulater, "Feature not supported (-5)" occured, when I installed this app to my device, "Unable to execute file for security reasons" showed on.
    Last edited by sundy10; 2009-11-06 at 04:12.

  2. #2
    Regular Contributor
    Join Date
    Apr 2008
    Location
    India
    Posts
    477

    Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Quote Originally Posted by sundy10 View Post
    Capturing an image
    I added these codes to my app, when I clicked the app's icon in emulater, "Feature not supported (-5)" occured, when I installed this app to my device, "Unable to execute file for security reasons" showed on.
    i hope that u are providing all required capabilities to your application.

    and if so, then try to debug the application, possibily u will get a specific execution line where this error is coming then it will b easy for u.

  3. #3
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Quote Originally Posted by sundy10 View Post
    I added these codes to my app, when I clicked the app's icon in emulater, "Feature not supported (-5)" occured,
    Test camera related API on device.

    Quote Originally Posted by sundy10 View Post
    when I installed this app to my device, "Unable to execute file for security reasons" showed on.
    Have you added UserEnvironment capability in your .mmp file??

  4. #4
    Regular Contributor
    Join Date
    May 2009
    Posts
    200

    Smile Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Quote Originally Posted by savaj View Post
    Test camera related API on device.



    Have you added UserEnvironment capability in your .mmp file??
    Whether I have to add only one CAPABILITY keyword?
    not like this,
    CAPABILITY ReadUserData
    CAPABILITY UserEnviroment

  5. #5
    Regular Contributor
    Join Date
    Apr 2008
    Location
    India
    Posts
    477

    Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Quote Originally Posted by sundy10 View Post
    Whether I have to add only one CAPABILITY keyword?
    not like this,
    CAPABILITY ReadUserData
    CAPABILITY UserEnviroment
    yap u can write in any way but

    CAPABILITY ReadUserData UserEnviroment MultimediaDD

    will be fine

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

    Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Quote Originally Posted by sundy10 View Post
    Whether I have to add only one CAPABILITY keyword?
    not like this,
    CAPABILITY ReadUserData
    CAPABILITY UserEnviroment
    You can make use of Carbides Capability scanner for identifying all the required capabilities

  7. #7
    Regular Contributor
    Join Date
    May 2009
    Posts
    200

    Smile Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Quote Originally Posted by kamalakshan View Post
    You can make use of Carbides Capability scanner for identifying all the required capabilities
    I have used this scanner,and it told me my app needed 'dependent' capability.
    What's dependent? I don't konw.

  8. #8
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    As i told you earlier, have you added UserEnvironment capability?? what happened after that?

  9. #9
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"

    Please read the Platform Security documentation, it will all be explained.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Problem with GCCE build in Carbide.vs
    By raffaelbechara in forum Symbian C++
    Replies: 6
    Last Post: 2008-10-20, 16:06
  2. I can not execute on mobile phone a file .nth
    By docjohn in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2008-03-17, 03:08
  3. Cannot Play AMR File
    By khalandar in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-06-13, 11:00
  4. Tips on using NDS 1.1
    By mitts in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2006-01-18, 16:07
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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