Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 242
Registered: ‎02-19-2013
My Device: 9500
My Carrier: _
Accepted Solution

Error Starting Module attempts to access a secure API

I have got all three keys from blackbeery site and i successfully imported them in eclipse..

But When i start the application in device. Its displaying this "Error Starting Module attempts to access a secure API".

 

Can anybody suggest how to resolve this. Please help me for this. Thanks in advance.

Highlighted
Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Error Starting Module attempts to access a secure API

sign the application
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 5
Registered: ‎02-21-2013
My Device: Playbook 1, Bold 9930
My Carrier: Rogers

Re: Error Starting Module attempts to access a secure API


simon_hain wrote:
sign the application

This solved my problem. My application was fully signed but today I saw this error and I was confused. Eclipse said that the files were successfully signed. The Signature window flashed briefly so I couldn't see what's wrong.

 

 

In Eclipse I clicked Blackberry (top menu) > Sign > Sign with Signature Tool. This signature window stayed open so I finally saw that my Java OS7 app was not being signed by one of three keys. I re-added the missing key in Eclipse and all is good - the Secure API error is gone.

 

Need to make sure that a OS5-OS7 Java app is signed by ALL three keys - "RCR", "RBB", and "RRT".