attemps to access secure API in Blackberry -


I have created an application and only when I have been created and installed in my design storm I want to show this desgn only in Porteret I have written this line

  Ui.getUiEngineInstance (). SetAcceptableDirections (Display.DIRECTION_PORTRAIT);   

Install in the device. I got the error:

Attemps to use a secure API

I do not know what can I do? I had already signed this application before installing it in the device.

When you create a project, check the log output - if your code is for any secure API If so, then there will be evidence of this by logging the meaning of logs like this:

WARNING: References to the class: net.rim.device.api.system.Display is required to sign with the key -In: Rim Runtime API

If you get a similar warning, it means that you can run the app on the actual file. Shm joins the rim to be, need to sign the code file with similar keys (versus simulator).

Comments