Help Center
Local Navigation
- Creating user interfaces
- Storing data
- Creating connections
- Managing applications
- Using custom messages and folders in the message list
- Applications for push content
- Localizing BlackBerry device applications
- Controlling access to APIs and application data
- Testing a BlackBerry device application
- Packaging and distributing a BlackBerry Java Application
- Glossary
- Provide feedback
- Legal notice
BlackBerry Manuals & Help
>
Documentation for Developers
>
Java Development Guides and API Reference
>
Development Guide - BlackBerry Java Development Environment - 4.7.0
Retrieve information about a BlackBerry Java Application
- Import the following classes:
- To retrieve information about the processes that are running, invoke ApplicationManager.getVisibleApplications().
ApplicationManager manager = ApplicationManager.getApplicationManager(); ApplicationDescriptor descriptors[] = manager.getVisibleApplications();
- To retrieve descriptions of the objects for the BlackBerry® device applications that are running, invoke ApplicationDescriptor.getName().
String appname1 = descriptors[0].getName();
- To retrieve a description of the current BlackBerry device application, invoke ApplicationDescriptor.currentApplicationDescriptor()
ApplicationDescriptor descriptor = ApplicationDescriptor.currentApplicationDescriptor();
Parent topic: Application manager