BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-25-2010, 01:33 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.