BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-24-2008, 10:56 AM   #1 (permalink)
Knows Where the Search Button Is
 
robinShazam's Avatar
 
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
Default 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  
Old 11-24-2008, 01:50 PM   #2 (permalink)
Knows Where the Search Button Is
 
robinShazam's Avatar
 
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
Thumbs up

Blackberry (Mr Zubert) informed me that javaloader does not create code groups and so any javaloader-installed apps will not work as expected. Install using ALX file & desktop manager, or OTA, to create the group to read the custom properties.

I have requested the knowledge base article be updated with an important note about javaloader not creating the group.
Offline  




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