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
Highlighted
Developer
Posts: 140
Registered: ‎02-08-2010
My Device: Torch 9800, Storm 9530, Curve 8330
My Carrier: AT&T, Verizon

Delete one CodeModule from its CodeModuleGroup

Want to delete one code module leaving the rest of its CodeModuleGroup intact.

 

When I try to delete a module with CodeModuleManager.deleteModuleEx(), it reports that it will be deleted at next reset, but that doesn't happen.  Maybe this is because I never removed it from its CodeModuleGroup?

 

There is CodeModuleGroup.addModule(), but no deleteModule().

 

Was hoping the module would automatically be removed from the group when deleted, as happens when it's deleted manually in Options/Applications/Modules.

 

 

Purpose #1 here is that I've got an app that reveals unwanted hidden & running modules, and want to be able to give users the ability to delete those without having to exit and go into Options, but it's not working.

 

Purpose #2 is to give users the ability to remove unwanted components of a few different apps.

 

Thank you