1

In my BB application after installing it on the device showing this Error "Error starting AppName Module 'AppName' attempts to access a secure API"

I am opening internet Browser in my application and not giving any kind of permission so this can be the reason of this error of something else.....

Please Help Thanks

  • thats because of the code signing problem. you didnt properly signed the code – Rince Thomas Jul 06 '12 at 11:18
  • Yes i signed the Code but no check is there any way to check code is signed or not.? – loading username..... Jul 06 '12 at 11:22
  • refer this http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Applications-and-code-signing-Start-to-Finish/ta-p/445848 – Rince Thomas Jul 06 '12 at 11:26
  • App is working simply but when a add this line on Button Clicked-> Browser.getDefaultSession().displayPage(url); it start this error again and without this link app working good so i just want to know i need to take any kind of permission for Browser Opening.???? – loading username..... Jul 06 '12 at 13:15

2 Answers2

3

Please try to sign your application, then install. If you do not have a signature key, you can request new keys here. It's free nowadays. More help in this link.

Nate
  • 31,017
  • 13
  • 83
  • 207
Suresh Kerai
  • 891
  • 1
  • 6
  • 20
  • I signed my App as i know please let me know is there any way to check code sign .? – loading username..... Jul 06 '12 at 11:28
  • Load signature tools from bin directory and open you code file. if your application signed then green message will display "Signed". – Suresh Kerai Jul 06 '12 at 11:53
  • I found and Completed but after importing file from Blackberry Desktop manager its showing. No Additional application found. YOur file migth contains application that already exist in the Application list..... please help – loading username..... Jul 06 '12 at 12:18
  • Please see on bin directory on install JDE . On my computer this path i can found. C:\Program Files (x86)\Research In Motion\BlackBerry JDE 7.1.0\bin\SignatureTool.jar – Suresh Kerai Jul 06 '12 at 12:50
  • App is working simply but when a add this line on Button Clicked-> Browser.getDefaultSession().displayPage(url); it start this error again and without this link app working good so i just want to know i need to take any kind of permission for Browser Opening.???? – loading username..... Jul 06 '12 at 13:20
  • have you sign on not?. please sign then resolve your problem. what's problem you have to sign?. It's batter to install app on device with sign. i have not idea which api require sing. – Suresh Kerai Jul 06 '12 at 13:27
  • App is working simply but when a add this line on Button Clicked-> Browser.getDefaultSession().displayPage(url); it start this error again and without this link app working good so i just want to know i need to take any kind of permission for Browser Opening.???? – loading username..... Jul 06 '12 at 14:05
3

This error indicates that the application has not been fully signed. Note that when you sign up for a set of code signing keys for BlackBerry OS 7.1 and lower you are sent 3 different keys. All 3 must be installed. If you don't install all of them you could partially sign your application and receive the error above.

You can verify the signatures applied to a COD file by opening the COD file using the SignatureTool. It'll show the signatures that have been applied. Look for signatures for RBB, RCR and RRT (note that RRT is only present when required).

MSohm
  • 815
  • 6
  • 11
  • App is working simply but when a add this line on Button Clicked-> Browser.getDefaultSession().displayPage(url); it start this error again and without this link app working good so i just want to know i need to take any kind of permission for Browser Opening.???? – loading username..... Jul 06 '12 at 14:06