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

Reply
New Developer
wholebbONE
Posts: 13
Registered: ‎08-04-2008
My Device: Not Specified

Avoiding code signature

Is it possible to avoiding code signature when I writing an application which can run in Blackberry device? I don't use the controlled API, but it still inform that it needs code signature? why?
Please use plain text.
Developer
dkonigs
Posts: 241
Registered: ‎07-25-2008
My Device: Bold 9900

Re: Avoiding code signature

If you avoid those APIs, you shouldn't need the signature.  There is a command-line option you can use on the simulator to force it to do the necessary checks to see if you really are not using the signed APIs.  Of course I've also found the occasional old device (only BB OS 4.0 in my experience) that was picky for no obvious reason.
Please use plain text.
New Developer
wholebbONE
Posts: 13
Registered: ‎08-04-2008
My Device: Not Specified

Re: Avoiding code signature

I just check my code right now, it doesn't use any api from RIM package, just import java.util.* package. and I want to build it as a library so that it can be used in other applications.

 

And I click the JDE menu item "request  signatures", it informs me that it requires signatures, my god!

 

I don't know the reason.

Please use plain text.
New Developer
Blizzz
Posts: 10
Registered: ‎07-17-2008
My Device: Not Specified

Re: Avoiding code signature

Do you have autostart checked ? If i remember correctly,  that features requires signing as well.

 

best regards

 

 

Please use plain text.
New Developer
wholebbONE
Posts: 13
Registered: ‎08-04-2008
My Device: Not Specified

Re: Avoiding code signature

No, it just built as a library.
Please use plain text.
Administrator
MSohm
Posts: 14,313
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Avoiding code signature

Try building your application with a recent version of the BlackBerry JDE (such as 4.5.0).  It will give warnings if the application uses any APIs that require signing.

 

Note that it does not warn about an auto start application requiring signing.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.