12-10-2008 01:42 PM
12-11-2008 01:00 PM
i guess i didnt explain it properly.
I have two compiled applications and both are installed on the BB.
I want app A and make a copy of app B and then name it App C.
also if i have App B embedded in App A can i use this API to create App B?
createNewModule(int totalLength, byte data, int length)
12-11-2008 04:52 PM
I've not tried this, nor do I have any real experience, but I doubt this would work.
If you in effect copied the cod, you would be creating duplicate classes with the same package name. I think that when you attempted to write the new cod out, the loader would find this and barf. I think to do this properly, in a system like the BlackBerry which doesn't really support a 'class loader', you would need to rename all the classes.
In a recent thread, someone had created duplicate classes deliberately, in source, and was getting a verification error because of the duplicated persistable classes.
But like I said, not an area of expertise.