Applications downloaded from App World application projects?

My company creates several BlackBerry applications that use several common Java projects. Recently, we pursued a mistake that we theorize can be caused by an application using the old version of one of the projects. My question is do two applications downloaded separately from App World share the projects they have, or does each application use its own copy of the project?

For example, let's say I have two applications, Foo and Bar, which each use a Baz project. First I load:

  • Foo 1.0
    • with Baz 1.0

Then I load:

  • Bar 2.0
    • with Baz 2.0

Will I use Bar version 1.0 or 2.0 Baz at startup?

+1
blackberry appworld
source share
1 answer

Typically, the last installed application library overwrites the existing library, which is often not what you want. This has been a longstanding issue with the BlackBerry platform, as shown here .

What I and others do is either:

  • include the source code for the library in the application itself or
  • specify the version number in the library

In fact, you are done with the concept of a shared library, which, unfortunately, but at least your application works regardless of any other changes.

Sorry, I assume there is a third option: pack the library as a separate download. But this has its problems.

+2
source share

All Articles