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
Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c
Accepted Solution

application attemps to access secure api

Hello

Iam trying to run my application on my phone, it is running fine on the simulator. When I run it on my phone it gives me an error saying "application attemps to access secure api"
Thank you in advance
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: application attempts to access secure api

You need to sign your app if you want to run it on a real device. 

 

You will find more on signing here:

https://developer.blackberry.com/java/documentation/code_signing_1977871_11.html

 

If you search the forum you will find 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...

 

 

 

Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: application attemps to access secure api

Hello peter, I have looked at your links, and signed my application, but I still get the same error. Could there be any other reason for this error
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: application attempts to access secure api

Go to Options->Device->Application Management, press menu key, select modules, find your module(s), click on them and check the Signer IDs.  Should say RBB, RCR, RRT.  If it doesn't, then you have not put the signed version on the phone. 

Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: application attemps to access secure api

My eclipse doesn't have the options menu
Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: application attemps to access secure api

Sorry about that.
You meant on my phone. On my modules I have RCR RBB, but not RRT.
Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: application attemps to access secure api

clean the build, compile, sign, make sure that you load the signed file.
----------------------------------------------------------
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
Highlighted
Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: application attemps to access secure api

My RRT key is still not getting signed. Is there a special way to sign this key
Contributor
Posts: 34
Registered: ‎10-03-2012
My Device: 9300
My Carrier: cell c

Re: application attemps to access secure api

On eclipse the key is signed. But on my modules only rcr and rbb are signed
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: application attempts to access secure API

I do my signing separately from Eclipse, so I don't how you set it up in Eclipse.  But the location that does the signing needs to have the three signing keys available.  Did you get three?