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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Contributor
betodiaz
Posts: 2
Registered: ‎07-29-2010
Accepted Solution

Problem with BlackBerry Key Signatures - Bold 9000

Hi, I'm developing an application for the BB 9000 device, I have already paid for the key signatures registration and I have installed them without problems. 

The question is why I get the message "Attempts to access a secure API" when I try to run it in the device?
I am using the next libraries:

import net.rim.blackberry.api.invoke.Invoke;

import net.rim.blackberry.api.invoke.PhoneArguments;
My code snippet is:
String phoneNumber = txtNombreTel.getText();

if ( phoneNumber.length() == 0 ) {
Dialog.alert("Introduzca el telefono");
} else {
PhoneArguments call = new PhoneArguments(PhoneArguments.ARG_CALL, phoneNumber);

Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, call);

}
Am I missing something else?
Could someone please give a hint?
Cheers
Carlos Diaz - @betodiaz
Please use plain text.
Developer
br14
Posts: 488
Registered: ‎06-24-2008

Re: Problem with BlackBerry Key Signatures - Bold 9000

Sorry to ask the obvious but are you sure all of your cod's have been signed? This is a separate and necessary step once you've packaged for deployment to a device.

Please use plain text.
Developer
peter_strange
Posts: 17,718
Registered: ‎07-14-2008

Re: Problem with BlackBerry Key Signatures - Bold 9000

I agree with br14.  You will find some documentation here:

 

http://docs.blackberry.com/en/developers/deliverables/11938/Request_code_signatures_511409_11.jsp

Please use plain text.
New Contributor
betodiaz
Posts: 2
Registered: ‎07-29-2010

Re: Problem with BlackBerry Key Signatures - Bold 9000

Hi, the problem was more that just to sign the cod files, I upgraded the Eclipse version and that helped me a lot, after that I changed the alx file to the 4.6.0 version and now my application runs without problems.

Thanks for your response.

 

Carlos Díaz

Please use plain text.
New Member
BB313099
Posts: 1
Registered: ‎09-23-2010
My Carrier: O2

SMS Issue

[ Edited ]

I have a constant issue with sms, problem being if i get a text message thats not even long or may be 5 lines it comes split into text rather then all in one text, how do i resolve this as cant figure it out,

e.g if u txt me maybe 10 lines in a text it will come as three messages with receiving text at each end of text

please help
{edited for privacy}

Please use plain text.
Developer
peter_strange
Posts: 17,718
Registered: ‎07-14-2008

Re: SMS Issue

Hi and welcome to the forums. 

 

Please start a new Thread for a new Problem.

Please use plain text.