11-09-2009, 06:37 PM
Join Date: Nov 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 2 apps using the same library cause a conflict
Please Login to Remove!
Hi, I develop a library that gets precompiled and distributed as a jar file to different apps which included it in their cod.
When I have a phone with 2 separate apps using this library installed, and when I try to launch one of them, it gives me an error, telling me that a class is redefined.
I initially compile the library as a midlet using the rapc ant task in eclipse.
The apps, when compiled, include the midlet jar file within the src element nested under rapc.
So my questions are as such.
1) Am I doing something wrong that's causing this library to interfere across apps?
2) If that's the case, is there a way to check if the first library is installed, and install it only if it isn't?
3) If not, how do I compile this library into an application without revealing its source.
Any help would be greatly appreciated.