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

POTENTIOMETER KU1031S28 10K
$20.36
 POTENTIOMETER  KU1031S28 10K pictureALLEN BRADLEY 800T-U1 SER. P POTENTIOMETER (AS PICTURED) *NEW IN BOX*
$125.0
ALLEN BRADLEY 800T-U1 SER. P POTENTIOMETER (AS PICTURED) *NEW IN BOX* pictureRotary encoder with switch EC11 Audio digital potentiometer 20mm handle
$0.99
Rotary encoder with switch EC11 Audio digital potentiometer 20mm handle picture2PCS Rotary encoder with switch EC11 Audio digital potentiometer 20mm handle
$1.25
2PCS Rotary encoder with switch EC11 Audio digital potentiometer 20mm handle pictureVintage CUTLER-HAMMER Potentiometer 2 Watt Single 5000 OHMS 10250 T338 Made USA
$24.99
Vintage CUTLER-HAMMER Potentiometer 2 Watt Single 5000 OHMS 10250 T338 Made USA picture






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