Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
ted_hulick
Posts: 228
Registered: 11-21-2009

ContentHandler Conflicts - more gotchas...

Well,

 

If you read the doc on Content Handlers...it will tell you to use different IDs to avoid conflicts

between apps...

 

What IT DOES SAY is that if you use the same class - there's a conflict as well - Even if it is

different instance...

 

So - if you have a universal content handler class and it is not a shared library cod - and even

though different instances in different apps - you cannot use the same class name.   This sucks

because now you need to come up with a unique name for each app...which defeats the purpose

of common code.

 

And yes, this is 100 percent reproducible....

Please use plain text.