02-25-2010, 12:33 PM
Knows Where the Search Button Is
Join Date: Jul 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Class multiply defined issue
Please Login to Remove!
I have two different applications. Each application uses the same set of methods located in one package. When I install applications on BB device and launch them one by one error message occures saying that 'Class XXX multiply defined'. I know it happens because of name collision. How can I avoid it?
I have an idea to create two cod files for each application. One for application itself and one for shared block. But I do not know what to do in this case: How user can get shared block cod file when user downloads application from App World to its device? Is it possible to combine cod files? Any idea?
When i searched the forum, i saw that a few people encountered similiar problems, so i hope that somebody is able to help me on that.