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

New Developer
Posts: 26
Registered: ‎11-20-2008
My Device: Not Specified

Effective way to share libraries?



I have been looking at how to effectively share a RIM library across multiple applications. Everything works fine, but the main problem is that when another application is installed that uses the same shared library as an existing application, the installation process warns continuously about potential conflicting libraries even though they are the exact same shared library binary. While this works fine, these kinds of messages are extremely confusing to users and would create a significant amount of support requests. Am I missing something here or is this just the way it is?


Do any of you attempt to create and share libraries? Are there alternate approaches to accomplish the same effective goal of sharing code across applications?



Posts: 17,024
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Effective way to share libraries?

some libs are shared, like ksoap2 for example. i don't get any warnings on installation though, the old lib just gets replaced.


other libs, like my UI libs, are only used in eclipse. in the jde i add the classes so that they are included in the main software. this allows non-interface compliant changes.

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter