09-13-2010 12:28 PM
I have two application and they have two modules for each. and one of them has same name.
ApplicationA => AppA + MyLib (I combine two modules into one jad)
ApplicationB => AppB + MyLib (I combine two modules into one jad)
and MyLib modules are not same. one of them is updated and newer. then, I try to install these two application, but I cannot do this. I installed ApplicationA successfully. but when I try to install, device shows a warning like:
“ApplicationB” contains a module called “MyLib”. A module with that name already exists in the “ApplicationA” applicaiton. If you proceed, “ApplicationB” will be replaced by “ApplicationA”. Proceed ? “
how can I install two application in same device ?
you can try this issue with these links:
Solved! Go to Solution.
09-13-2010 01:01 PM
And not just a different name, changing the cod name only will do no good because the BlackBerry will load up the individual classes from the cods and does not support duplicates.
You need to be very careful and clever when attempting to share code.
09-14-2010 03:42 AM
that libraries are different, beacuse, I fix some bugs. and this fixing makes difference about new and old library. I want to one of them install device.
why can I update two module with one jad file ? is there any way to do this ?
09-14-2010 05:09 AM
How the BlackBerry copes with a cod file that is shared seems to vary by device and OS Level.
If you wish this situation to work 100% in all circumstances in my opinion, you need to install your Library as a separate download. So to get one application, the user will download the Application and the Library. To get the next, they just download the Application, because the Library is already present. Using this approach, you should be able to upgrade the shared Library. Any other situation may or may not work, at least in my experience.
So in your case, you need three jads.
There has been some extensive discussion about shared library cods and related stuff already on the forum. I recommend that you search for it if you wish to see other perspectives on this.