11-24-2008, 09:56 AM
|
#1 (permalink)
|
| Knows Where the Search Button Is
Join Date: Oct 2008 Location: london, uk Model: 8120 OS: 4.3.0.67 PIN: N/A Carrier: Lots
Posts: 15
Post Thanks: 0 Thanked 0 Times in 0 Posts
| Reading custom property from JAD Please Login to Remove! I am trying to read properties from a JAD file but knowledge base DB-00638 is a pile of shit and doesn't work.
My module is not in any of the module lists returned by CodeModuleGroup (< 4.3) or CodeModuleGroupManager (4.3+) so the example doesn't work. I'm sure it works for RIM code that is part of a code module group but definitely not when your module is not. I can see my module in the module list on the device itself but as it is not part of a group I can't get custom parameters from it in Java.
So, how to get my module into a module group? Can i use addModule( my-module-name ) to add my module to one of the groups on the device (such as net.rim.blackberry) and calling store() during application startup? Can i create a custom group during app startup (in main where i set the icons) and get my custom props that way? Is there a flag that needs to be set in the cod/jad to add the application to a module group during install? (I am using Eclipse JDK)
Any help appreciated! |
| Offline
| |