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
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.
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

MSA Altair H2S Monitor
MSA Altair H2S Monitor pictureMSA Altair 5X Multi-Gas Detector
MSA Altair 5X Multi-Gas Detector pictureLot 5 Altair AL-2665T Indoor 3" 45° Directional Recessed Lights 2-Pack White 50W
Lot 5 Altair AL-2665T Indoor 3Msa Altair 5 Battery
Msa Altair 5 Battery pictureMsa Altair 4x Wall Charger With Multiple Outlet Attachments
Msa Altair 4x Wall Charger With Multiple Outlet Attachments picture

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.