"Feature not supported (-5)" & "Unable to execute file for security reasons"
[URL="http://wiki.forum.nokia.com/index.php/CS000904_-_Capturing_an_image"]Capturing an image[/URL]
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.
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
[QUOTE=sundy10;668956][URL="http://wiki.forum.nokia.com/index.php/CS000904_-_Capturing_an_image"]Capturing an image[/URL]
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.[/QUOTE]
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.
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
[QUOTE=sundy10;668956]
I added these codes to my app, when I clicked the app's icon in emulater, "Feature not supported (-5)" occured,[/QUOTE]
Test camera related API on device.
[QUOTE=sundy10;668956] when I installed this app to my device, "Unable to execute file for security reasons" showed on.[/QUOTE]
Have you added UserEnvironment capability in your .mmp file??
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
[QUOTE=savaj;668978]Test camera related API on device.
Have you added UserEnvironment capability in your .mmp file??[/QUOTE]
Whether I have to add only one CAPABILITY keyword?
not like this,
CAPABILITY ReadUserData
CAPABILITY UserEnviroment
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
[QUOTE=sundy10;669014]Whether I have to add only one CAPABILITY keyword?
not like this,
CAPABILITY ReadUserData
CAPABILITY UserEnviroment[/QUOTE]
yap u can write in any way but
CAPABILITY ReadUserData UserEnviroment MultimediaDD
will be fine
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
[QUOTE=sundy10;669014]Whether I have to add only one CAPABILITY keyword?
not like this,
CAPABILITY ReadUserData
CAPABILITY UserEnviroment[/QUOTE]
You can make use of Carbides Capability scanner for identifying all the required capabilities
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
[QUOTE=kamalakshan;669054]You can make use of Carbides Capability scanner for identifying all the required capabilities[/QUOTE]
I have used this scanner,and it told me my app needed 'dependent' capability.
What's dependent? I don't konw.
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?
Re: "Feature not supported (-5)" & "Unable to execute file for security reasons"
Please read the Platform Security documentation, it will all be explained.