In BlackBerry Java programming, you often encounter the need to refer to a third-party jar package without source code. How to Package a Third-party jar pack into your BlackBerry application. Even pack it as a library cod that can be shared by multiple applications.
Steps:
1. First of all, the location of the API jar package, Xxx.jar into your project.
Right-click your project, select Properties, choose Java Build Path, select libraries
Select the Add External JARs button, and in the pop-up box, locate the path where you want to store the Xxx.jar, and then return.
There's one more path under build path.
Finally select OK to complete the import.
2. Select compile output jar package right click on your project, select Properties, select Java Build Path, select order and Export
The Xxx.jar is checked, OK completes.
3. Now the normal compilation of the signature project can be
Description
If, in Eclipse Project, Blackberry_app_descriptor.xml chooses the application type as the library, it eventually forms a plurality of library that can be shared by multiple applications. 1.5 ago, The apprentice was not fine, had used a giant clumsy method-http://blog.csdn.net/berryreload/article/details/5641691. Oh.