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
New Contributor
redwind
Posts: 2
Registered: ‎10-19-2010
My Device: Torch 9800

Application List

I am looking to build an app then would need to generate a list of the applications and I need to know how I would go about that

Developer
JCarty
Posts: 1,055
Registered: ‎01-25-2009
My Device: BlackBerry Bold 9650/BlackBerry Torch 9800

Re: Application List

See http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/system/CodeModuleManager.html#...()

 

and

 

Loop the integer array returned and use any of the following to retrieve your info:

 

 

 // Retrieve specific information about a module.
 String name = CodeModuleManager.getModuleName( handle );
 String vendor = CodeModuleManager.getModuleVendor( handle );
 String description = CodeModuleManager.getModuleDescription( handle );
 int version = CodeModuleManager.getModuleVersion( handle );
 int size = CodeModuleManager.getModuleCodeSize( handle );
 int timestamp = CodeModuleManager.getModuleTimestamp( handle );

 

 

Jerome Carty - Follow jcarty on Twitter@jcarty | #webworks-dev / #BlackberryDev on irc.freenode.net | My Apps
Click "Accept as Solution" if post solved your original issue.. Give like/thumbs up if you feel post is helpful