×
Namespaces

Variants
Actions

Talk:ScShortcuts Engine Wrapper API

From Nokia Developer Wiki
Jump to: navigation, search

There is something missing in the given example: the call to CScShortcutEngineWrapper::NewL fails with error -46 (permission denied) if the right capabilities is not specified in the elf2e32.exe (post linker) command. The capabilities are ReadDeviceData WriteDeviceData, meaning that you need a certificate in order to use this API

Capability missing in the example project

A few comments here:

  • A quick check shows that the example application's MMP file has in its capability statement the capabilities that you say are missing.

CAPABILITY ReadDeviceData WriteDeviceData ReadUserData

  • The entire point of having a wiki is that content can be altered as needed, when needed, by those who have discovered the need. Please do jump in and make the appropriate corrections with the motto "Better to say Sorry! than to wait for someone's permission". Those interested in monitoring the changes should watch the pages and fight back for their own truth when appropriate. :)

ltomuta 13:40, 25 September 2007 (UTC)

Fails on N95 device

Hi,

I tried to build an example using ScShortcutsEngineWrapper API for N95 device.

Below statement gives out "System Error!" alert note on the device:

"iShortcut=CScShortcutEngineWrapper::NewL(iSession,*this);"

But initializing "CScWrapperShortcut" object does not give any error!

May I request for insights on this issue!

Thanks!

 
×