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
amardeepjaiman
Posts: 286
Registered: 02-25-2009

Re: CodeModuleGroupManager.loadAll() returns null

Test it on device. may be it doesnt work on simulator.
Please use plain text.
Developer
Posts: 432
Registered: 02-23-2009

Re: CodeModuleGroupManager.loadAll() returns null

CodeModuleGroupManager.loadAll() or CodeModuleGroupManager.load() gives you the codemodulegroup not a application/codemodule. You are specifying CodeModuleGroupManager.load(modulename) and i thought your specified modulename is your application name; its not correct you need to use groupname here.

 


Press the kudos button to thank the user who helped you.

If your problem was get solved then please mark the thread as "Accepted solution".

 

 

 

 

 

Deepesh Gupta
Please use plain text.
Developer
Posts: 432
Registered: 02-23-2009

Re: CodeModuleGroupManager.loadAll() returns null

If you are testing it on simulator then try to install your application using the BlackBerry Browser

 


Press the kudos button to thank the user who helped you.

If your problem was get solved then please mark the thread as "Accepted solution".

 

 

 

Deepesh Gupta
Please use plain text.
Developer
amardeepjaiman
Posts: 286
Registered: 02-25-2009

Re: CodeModuleGroupManager.loadAll() returns null

Please use plain text.
Administrator
MSohm
Posts: 11,465
Registered: 07-09-2008
My Carrier: Bell

Re: CodeModuleGroupManager.loadAll() returns null

A CodeModuleGroup is created for an application when it is installed with the following exceptions:

 

A group is NOT created if you use javaloader to load the application by specifying the COD file names.

A group is NOT created when a COD file is copied into the BlackBerry Simulator directory (this is what occurs when you test/debug your application).

 

A group IS created if the application is installed using any other means listed here:

 

How To - Load applications onto a BlackBerry smartphone
Article Number: DB-00041

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800647/How_To_...

 

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
danadydy
Posts: 2
Registered: 10-15-2009

Re: CodeModuleGroupManager.loadAll() returns null

I have loaded the application into the emulator this way:

 

    1. Simulate USB cable connected

    2.  jvaloader -u load myapp.jad

=>  I got my group not null.

 

But,

myGroup.getProperty("RIM-COD-Module-Name");

returns null.

 

So, is there a way to get a property from the jad, please?

 

Thank you.

Please use plain text.