haferblues
haferblues

Reputation: 2253

blackberry install an application twice

I developed a Blackberry app and want to install it twice, as two separate apps, on the same device. I want the exact same app installed again, but the second installation should not overwrite the first one.

Which setting identifies the BlackBerry app? Is it in the AppDescriptor?

Upvotes: 0

Views: 396

Answers (1)

Michael Donohue
Michael Donohue

Reputation: 11876

In Eclipse, when editing the Application Descriptor, go to the 'build' tab. There is a field for the "Output file name". That filename distinguishes apps from one another.

However, you will run into another problem, as your second installation will collide with the first one, as all the java classes have the same packages and names. So you will need to use something like jarjarlinks to tweak the package names a little bit before installing the second app.

Upvotes: 1

Related Questions