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
Contributor
PengZhang
Posts: 24
Registered: 12-02-2010
Accepted Solution

How to sign a libary ????? RIMAPPSA2 cant sign !!!

Hi, everybody,

 

i need add a project as a libary. But at fist i must sign this libary, and i cant sign this RIMAPPSA2 !!! 

 

How to sign a libaryproject ?

 

Need HELP !!!!!

Please use plain text.
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon

Re: How to sign a libary ????? RIMAPPSA2 cant sign !!!

RIMAPPSA2 is a private signing key that only RIM has. If you get this then you are using a non-public library class/interface/field/function.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.
Contributor
PengZhang
Posts: 24
Registered: 12-02-2010

Re: How to sign a libary ????? RIMAPPSA2 cant sign !!!

yes, i used my project as a libary. I can also put the whole files in 1 project, but it looks bad, and there r many java files.

 

So, sounds like i must put all of things in one big big project, right?

Please use plain text.
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon

Re: How to sign a libary ????? RIMAPPSA2 cant sign !!!

Not really what I meant. I meant that RIM has some functions and libraries that aren't supposed to be avalible to the average developer.

 

If you use those libraries or functions you get told you need a RIMAPPSA2 signing key (which you can't get).

 

You need to try to find what isn't public (or has been talked about on these forums that many people use). Then remove/replace them so you can sign your library.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.
Contributor
PengZhang
Posts: 24
Registered: 12-02-2010

Re: How to sign a libary ????? RIMAPPSA2 cant sign !!!

thx for the answer.

 

Is there maybe an other way to make a privat project as a library, and without signing problem?

Please use plain text.
New Developer
CobiRic
Posts: 18
Registered: 03-31-2011
My Carrier: none

Re: How to sign a libary ????? RIMAPPSA2 cant sign !!!

[ Edited ]

This is an attempt to clean up any confusion on this RIMAPPSA2 signature. A lot of people have this problem even though they are not using secret methods on purpose. There is a bug in the RIM tools, and in the RIM documents involving working with JAR files.

 

Some people get thie RIMAPPSA2 signature when trying to build a JAR file into their project.

 

It turns out there is a mistake in this doc, which many people follow: Working with Libraries - shared, bundled, releasing, and using 3rd Party SDKs

 

The trick is to build your "library" project as a MIDLET, not as an APPLICATION.

 

Following all steps from there on out leads to correct signing, and no longer getting the RIMAPPS2 signature required.

 

www.cobiinteractive.com
www.madmob.co.za
Please use plain text.