1

Is it possible to get a list of all applications installed in a Blackberry, similar to the applications list when you go into your settings.

I can get a list of all visible applications using the following but I was wondering if it's possible to get a list of apps that aren't necessarily running but are installed,

ApplicationDescriptor[] descriptors = 
    ApplicationManager.getApplicationManager().getVisibleApplications();
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
Fermin
  • 34,961
  • 21
  • 83
  • 129

1 Answers1

5

You can use:

net.rim.device.api.system.CodeModuleManager.getModuleHandles()

To get an array of handles into all modules, and:

net.rim.device.api.system.CodeModuleManager
    .getApplicationDescriptors(int moduleHandle)

To get ApplicationDescriptors associated with the module. You will have to sort out which modules are libraries and which are applications.

Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
Richard
  • 8,920
  • 2
  • 18
  • 24