09-24-2008 02:31 PM
I am building a UI library that will be used by multiple applications.
I understand that you can achieve reuse by adding the UI Library as a JAR file to a Library project in each of the applications' Workspace.
But my worry is the footprint on the device... will the UI Library get included in each and every applications' COD?
Is there a way to deploy the UI Library once, and simply have all the applications "reference" the single COD/Jar?
09-24-2008 03:29 PM
You could create a library project that is referenced by all of your applications. Please see the following link for more information.
What Is - A library and how to use it
09-25-2008 12:30 AM
Please correct me if I'mw wrong, but my experience says that there's no notion of a "shared" library on BlackBerry. So, say you create a UI library and install it with App A. When you then install it along with App B the device will uninstall the library associated with App A (along with App A?) so it can install the one you're including with App B. What this meant for me was that, yes, I had to install multpile applications at around 400K each rather than install one big shared library and then install little 20K apps which could all use that library.
09-25-2008 04:15 AM
Please correct me if I'mw wrong, but my experience says that there's no notion of a "shared" library on BlackBerry.