Blackberry Apps - Importing a code-signed jar into an application project
Posted
by Eric Sniff
on Stack Overflow
See other posts from Stack Overflow
or by Eric Sniff
Published on 2010-05-07T20:56:06Z
Indexed on
2010/05/07
21:08 UTC
Read the original article
Hit count: 451
Hi everyone,
I'm working on a library project that Blackberry Java developers can import into their projects. It uses protected RIM APIs which require that it be code-signed, which I have done. But, I can't get my Jar imported and working with a simple helloWorld app. I'm using the eclipse plug-in Blackberry-JDE. Here is what I have tried:
First:
Building myLibProject with BlackBerry_JDE_PluginFull_1.0.0.67 into a JAR, signing it and importing it into a BlackBerry_JDE_PluginFull_1.0.0.67 application project --> I get a class not found error, while compiling the application project.
Next:
I imported myLibProject into an BlackBerry_JDE_PluginFull_1.1.1.* library project, built it into a jar, signed it and imported it into a BlackBerry_JDE_PluginFull_1.1.1.* application project. It built this time, but while loading up the simulator to test it I get the following error ( Access violation reading from 0xFFFFFFC ) before the simulator can loadup and it crashs the simulator.
Other stuff I've tried: I also tried importing the jar into it's own project and having the HelloWorld app project reference that project.
If I include the src in my application project it works fine... But Im looking for a way to deploy this as compiled code.
Any Ideas? Or help?
© Stack Overflow or respective owner