07-06-2009 03:02 PM
I am curious how package names in a native BlackBerry Java application are exposed to other applications and/or the operating system. I know, for example, that persistable classes but be uniquely defined or else you'll get "Error starting MyApplication: Class 'com.example.myapplication.MyClass' multiply defined." In what other ways are package names visible?
As discussed in my thread on Performance Problems with Localization on 4.6.1, there are strange interactions between application size, package names, and the EventInjector. Without an official fix or workaround from RIM, our only option may be to rename our packages. I'd like to understand the implications of this though because we go that route.
Solved! Go to Solution.
07-07-2009 03:34 AM
07-10-2009 10:41 AM
RIM says package names are exposed via Class.forName() lookups and Persistable classes. Some people use the package name in COD file names, but I'm not doing that. Assuming I choose something unique, the user won't likely see my package name at all.