Application module tries to access the secure API

Hi all.

We are new to Blackberry Java development and have some problems with it.

We use the same BlackBerry Bold 9000 and OS worm Simulator. 5.0 in Eclipse JDE.

The JDE version is 5.0.0

We signed HelloWorldDemo with tool of power, provided by BB. It worked fine on the Simulator AND the device.

Then we signed our own application, based on PictureScrollFieldDemo.

The thing is, on the simulator of OUR application works fine, but when we try to run on the device, it failed with an error that says something like this: "Application module tries to access the secure API."

After that many times we tried to remove the code all potentially dangerous and recompile the application. After that it stopped working at all (when you click on the application menu, ABSOLUTELY nothing happens).

Then, we decided to try to launch PictureScrollFieldDemo, the sample provided by BlackBerry. Also, it did not work

Finally, the HelloWorldDemo has stopped working or the other...

During all this madness, we rebooted the unit several times.

Please help, appreciate any advice.

Thanks in advance, geezmo.

You should have received 3 keys, RBB, CPR and RRT. You imported all 3 when you have been setting up the signature tool?

Tags: BlackBerry Developers

Similar Questions

  • Error at startup < module > Module is trying to access a secure API

    Hi friends,

    I am trying to run the application on Blackberry. But it gives following error:

    Error starting Module tries to access a secure API.

    Can you get it someone please let me know why he comes. I searched the Forum, but not able to find what are the steps I need to take the next.

    To save the search:

    http://NA.BlackBerry.com/eng/developers/javaappdev/codekeys.jsp

    There is a tutorial on this and other options of signature here:

    http://NA.BlackBerry.com/developers/resources/A60_How_And_When_To_Sign_V2.PDF

  • Error starting "appName": Module "appName" is trying to access a secure API

    Dear all,

    I downloaded a few applications in the app world. When I try to install on the device, there is an error "error starting Sunfish6: Module 'Sunfish6' trying to access a secure API. I tried to update the files, he needs, but still get the same error message. What is the cause of the appearance of the error message? I developed this application using phonegap and blackberry webwork framework.

    Thanks & best regards.

    In the eclipse webworks menu, select project-> BlackBerry-> sign with Signature tool.

    Then upload the generated files.

  • module attempts to access a secure API

    Hi all

    I developed an application for blackberry, in the emulator its works very well

    I installed the cod/alx file in device it settle

    Open the application I get the error in my application: module "myAppl" trying to access a secure API.

    What could be the reason...

    Thank you

    Nithya.m

    Nithyam,

    There are APIs that have to sign of RIM to use on real devices. If you look at the API documentation, you can see the Sigened category. This indicates that you have to sign your application.

    To get the signature keys that you must spend 20USD and you can connect any number of applications for unlimited periods.

    PS: Sorry is in edit mode.

  • Error startup Module attempts to access a secure API

    I had all three keys to blackbeery site and I managed to import them in eclipse...

    But when I run the application in the device. His displays this "Error Starting Module attempts to access a secure API".

    Can someone suggest how to solve this problem. Please help me for this. Thanks in advance.

    sign the application

  • I am trying to access the security settings in my Apple ID, but due to too many attempts to answer my questions of security, this option is blocked. How can I unlock it?

    I am trying to access the security settings in my Apple ID, but due to too many failed attempts to answer my questions of security, this option is blocked. How can I unlock it?

    You can see this page if your identifier Apple is locked to see how to solve this problem.

    https://support.Apple.com/en-us/HT204106

    If you cannot solve this way, please contact support at the link below!

    https://getsupport.Apple.com/

  • Module is trying to access a secure API - the reinstallation of Signature keys...

    Hello

    ATER, a problem that I have to reinstall my eclipse + jde plugin, as a result of this relocation, I also need to ask new .csi file in order to resinstall also Signature keys.

    After receiving 3 new csi files, signature keys has been successfully installed.

    Now, I have no problem when I run a ' build and sign Blackberry Widget Project ", that I get every time that a" SUCCESS BUILDING "result.»

    The problem is when I execute the widget on a real device, after the launch of the application whenever I get a "Module to access a secure API attempts" then the request has failed.

    Feature: Storm 2 9529 worm 5.0.0.306 (platform)

    For your information before my new installtion of the eclipse + JDE widget built with previous keys and the previous eclipse running on the same device that above.

    I did not change my source code, I try just to check if the application still running with the new keys and the new Eclipse + JDE.

    Does anyone have an idea what's wrong?

    Looks like you need another set of files of csi.

    Before installing your new keys delete all files sigtool.csk, sigtool.db and sigtool.set on your PC.  This will clear your previous code signing keys.

    So be sure to install each of the 3 csi files in the mansion even to make sure that all are installed in the same development tool.

  • Module tries to access the API blocked

    I was complains about customers that they can not install our application go to App World, they are "error at startup AppNameHere: Module ' AppNameHere-1' attempts to access a secure API.»»

    The app is signed correctly and works on devices 6 + OS (tested on Bold 9780 and Torch 9800) but gives this error on OS 5 devices (tested on 9000 "BOLD"). I tried to install App World, installation of Web of .jad, and use development tools and it always gives me this error no matter how I sign it. The application USED to work on the OS 5 but then I started to use net.rim.json.org packages that are not available on OS 5. I fixed by following this: http://stackoverflow.com/questions/10010484/net-rim-json-org-not-found but now I am getting this new error.

    I'm puzzled.

    No idea why this is happening?

    I finally fixed that thanks to Simon

    The problem was that I was using Blackberry JRE 7.0.0 to compile and I believe that this * was * work until I tried to use 'net.rim.device.api.util.ByteArrayUtilities', which does not appear in OS5. (This is just my hypothesis as to why it mysteriously stopped working)

    Steps to fix:

    I had to write my own "ByteArrayUtilities.byteArrayToHex ()" (fly on here) after using JDE 5.0

    In addition,

    I don't think you can use org.json.me in OS5. Looks like it has been created in the OS6. See the docs http://www.blackberry.com/developers/docs/5.0.0api/index.html OS5

    This is where I received my initial error in OS5, so I've included this https://github.com/upictec/org.json.me in my project and it included as a custom package, so it does not interfere with OS6.

  • Module is trying to access a secure API - even after the signing of code

    I have recorded my signature codes with my BlackBerry Widget Packager tool successfully, packed a widget with it, loaded on my device and I always get the error message indicated in the title.

    I seek only to access the locate method, which is fairly standard in many applications.

    Does anyone have an idea what's wrong?

    When running the widget package manager and the Signature tool appears, it shows that the application is signed with success for all keys?

  • error: "module tries to access the API blocked" even if it is signed

    Hello

    I have a request I have compile for various brand (image and some const are different) using the same code base.

    My problem is that the code event and the process of compiling/signature is the same, SOME fail version to run on the device for pointing out the error "module attempts to access secure APIs"

    I found the various page talking about the same problem:

    I checked that the jad got the hash and SignatureTool reported cod signed (it's not DB-00717, I check the csl).

    I think that my problem is DTS 55471

    "DTS 55471: cannot load the signed file.
    If the addition of a signature causes the data to a .cod file section be more than 65536 bytes (2 ^ 16) in size, the application file signatory does not report an error, and cannot load the .cod on a security file. Impact: In rare cases, a .cod file signed by the signing tool does not work on a safe device.
    Solution: Increase or decrease the size of the file. "

    So, my questions are the following:

    • How can I detect that cod got a too big 'data' section (ideally using a lot) without installing it on the device?
    • How can I actually change the size of compiled cod "section of data" otherwise than by trying and error? (I had 32 version of the application using the same code)

    Technical info:

    • Tested on BB 9500 Storm OS 4.7.0.141 device
    • Compiled with JDE 4.2.1 4.6 and 4.7.
    • Signed with JDE 4.2.1 SignatureTool

    I look forward to the advice / tips

    Christophe

    During this time, because it's a bug to know, I tried to connect with a newer JDE SignatureTool cod.

    With the JDE 6.0.0 (dl RIM date 23/05/2011).

    I could sign and execute my cod (same as before ounces) on the 9500!

    So, the solution is: use the JDE 6.0.0 signatureTool

    Sorry, I do not tried before posting. I hope that this post will help someone.

    Kind regards

  • Error at startup myProject: Module "myProject" tries to access a secure API?

    Hello

    I cannot open the my request.

    It keeps loading for about 10-15 seconds (device stops responding)

    and then gives me this error:

    Error starting myProject:

    Module

    "myProject."

    attempt to access a

    Blocked API

    If anyone has an idea about this.

    Please help me in this matter.

    Thank you best regards &:

    Narendra Shekhawat

    probably you must sign your project. It is $ 20 for the keys, see here for more details:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800989/What_Is_-_Code...

  • application trying to access the api blocked

    Hello

    IAM trying to run my app on my phone, it works fine on the Simulator. When I run it on my phone it gives me an error saying "application is trying to access the api secure."
    Thanks in advance

    You must sign your application if you want to run it on a real device.

    You can find more on signature here:

    https://developer.BlackBerry.com/Java/documentation/code_signing_1977871_11.html

    If you search the forum, you will find that this problem has affected other people, for example here:

    http://supportforums.BlackBerry.com/T5/Java-development/app-trying-to-access-a-secure-API/m-p/189075...

  • Cod signed fails on the device with the attempts to access a secure API

    Feature: "BOLD"

    JDE: Eclipse (3.4.1) plugin (1.0.0.67) w/component pack 4.6.0.19

    JDK: 1.5

    Last week, I built and signed myApp. It loaded and run correctly on the device. This week changes have been made to the code, recompiled, signed and redeployed. Now, we get the attempts to reach an eveytime failure secure API that the code is executed. The secure API is PersistentObject and was last week.

    My last attempt, I deleted physically files .alx and .cod, .jar, .jad, .csl, .cso files prior to construction. I have verfied the 352 KB .cod size after compilation and 356 Ko after the signing. All of the code in the signature tool reflects signed. I even removed the .cod from the server where it is deployed and verified that everything is signed. We use the loader of office right now to load the code on the phone.

    EventLog

    S Java Exception - RuntimeException

    | Error at startup myApp:Module "myMod" trying to access a secure API.

    a system - error myApp:Module "myMod" from trying to access a secure API.

    a system - the linker error: "VerifyError" for myApp

    a system - Module 'myMod' attempts to access a secure API.

    a system - module 6803 cannot refer to net.rim.device.api.system.PersistentObject

    a system - VM:LINK myApp

    a system - CMM: myApp (6803) No sig 0 x 33

    a system - the linker error: "VerifyError" for myApp

    a system - Module 'myMod' attempts to access a secure API.

    a system - module 6803 cannot refer to net.rim.device.api.system.PersistentObject

    a system - CMM: myApp (6803) No sig 0 x 545252

    a system - VM:LINK myApp

    I never saw this when the cod file has actually been signed.  You can try to use javaloader to get cod off the coast of the unit and compare it with your signature.  Just a thought.

  • Error: Attempt to access a secure API

    Hello

    I have a request, but when I run the application in the device, I get the following message:

    Error starting BBPlusSDKTest: module 'BBPlusSDK' trying to access a secure API

    the BBPlusSDK is a JAR file, and the BBPlusSDKTest is my main program.

    Inside my main program (BBPlusSDKTest). Apply an 'import' in the jar (BBPlusSDK).

    Initially, had problems with the Key RRT for the file BBPlusSDKTest.cod , but already completed the signing of this file.

    But now it shows another error message (trying to access a secure API).

    I use the tools following and device:

    (1) terminal Blackberry 8320

    (2) blackBerry JDE 4.5.0

    (3) Java JDK 1.6.0_14

    And also I read a few similar cases in the forum, but none of this has solved my problem.

    could someone help me with this problem.

    Kind regards

    I run the file of cod of the library with the signature tool.
    And is displayed with the status "signed".

    so, I have to sign another cod file. but still the error persists.

    by chance, the BlackBerry does not support this level of security of the operating system type?

    Kind regards

  • Blocked ConnectionFactory: trying to access the api.

    Problem:

    1. my application uses the ConnectionFactory class for 5.0.x and 6.0.x platforms.

    2. one of the testers reported that the Bold 9700 v5.0.0.169 (Platform 5.1.0.30), it cannot start application. Shows applications message " Application trying to access the api blocked ' where is the name of the application. Also, Tester reported that the previous version of application (where ConnectionFactory served) starts correctly.

    3. I'm sure asking signed correctly, because I was able to install it on several Bold 9700 DeviceAnywhere devices. The only difference I found is that these devices have v5.0.0.174 (Platform 5.1.0.146).

    Can anyone confirm that this is a bug in the previous OS 5.0.x? Is it okay for me to suggest the update of the device to the customer?

    How the application has been installed?  If they use the WAP browser, read on...

    The JAD file used during the download of applications using the Explorer lists the COD file sizes.  These are the sizes previously signed, which tools do not update after signatures have been applied.  In most cases, this won't matter, but some WAP Gateways carrier truncates the COD file based on the size specified in the JAD file, which cuts the signatures for the application.

Maybe you are looking for

  • Palm Desktop by Access 6.2.2 shows that media and installation options

    I run Palm TX on desktop PC Windows XP with Palm Desktop 4.1.4 and laptop Windows Vista business - no problem with the Xp machine Palm Desktop by Access 6.2.2 worked but now only shows the multimedia options and install - everything else like calenda

  • Application of optical drive CD/DVD of R500

    Hello I noticed that the R500 series has some models that do not have optical drives. They have the slot to add one if necessary later. for example. The R500-126 has the 64 GB SSD but no optical drive. If I buy and decide later that I need to use an

  • Driver XP SATA for Satellite Pro L300 PSLB9E

    Hi all I have a Toshiba Satellite Pro L300 PSLB9E and I am trying to downgrade from Vista to XP. I have the sata AHCI controller mode, I looked for this drivers on the toshiba site and the site of intel, but none of these work when installing xp and

  • Time to try the revival of new Mail on Snow Leopard?

    My Mail application has failed since the passage of brain-phantasmagoric mobile.me to iCloud. Back in 2011 for Cryin ' seduced! "It's the ol' ' Catch-22 of the"SMTP server"smtp.mail.me.com" rejected the password for the user "kkgkjhggdc", while the K

  • Safari keeps crushing

    Hello, today I opened safari as usual but it suddenly crushed and from then until now I can't open the app. It opens then the rainbow circle/cursor appears and after a few seconds, it crushes. What is the problem? It's a virus or a malware? (I am cur