access a secure api

2019-08-03 18:38发布

问题:

Can anyone tell me why this happen when i install the real device on my blackberry. I am using blackberry web/widget to develop app BB and the language that i used is phonegap which is support .html, .css, .javascript.

The app can be installed but after install the app does not have icon.

Then when click on run the error msg is, “Error starting Carl’s Jr. Module CarlsJr attempt to access a secure api”

Any answer will be highly appreciated!

thanks,

regards, Jamaley.

回答1:

It sounds very much like you haven't signed your code.

RIM track the use of some sensitive BlackBerry APIs. This is indicated in the API reference documentation by a lock icon or are otherwise noted as "signed".

Please see the following url for more information about these keys and how to request yours

http://us.blackberry.com/developers/javaappdev/codekeys.jsp

Cheers

Ray