Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 293
Registered: ‎02-25-2009
My Device: Not Specified

Re: CodeModuleGroupManager.loadAll() returns null

Test it on device. may be it doesnt work on simulator.
Developer
Posts: 432
Registered: ‎02-23-2009
My Device: Not Specified

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
Developer
Posts: 432
Registered: ‎02-23-2009
My Device: Not Specified

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
Developer
Posts: 293
Registered: ‎02-25-2009
My Device: Not Specified

Re: CodeModuleGroupManager.loadAll() returns null

BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 2
Registered: ‎10-15-2009
My Device: Not Specified

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.