Application Information and Controls
PUBLISHED
The application information and controls features cover the various methods how to set or get appliction properties. They describe the application resources, preference, and icons. You can also use other application's functionlity using common application controls.
You can use the following application information and controls features in your native applications:
- Application Resources [1]
You can define different resources to be used by the application depending on the device on which the application is run. Efficient resource management allows you to create an application that can be run on various devices with different configurations, such as different screen sizes.
- Application Preferences [2]
You can set and get application preferences. You can also share stored preference data among applications in the same package.
- Application Icons [3]
You can show the application icon as a shortcut on the home screen to allow the user to easily access it. In the device application list, you can show a badge with the application icon to provide additional information about the application state or notifications to the user.
- Application Controls [4]
The application controls allow you to share an application's functionality. Using another application's features through application controls reduces the time and effort needed to develop your own application. You can also allow other applications to share your functionality by exporting your application control functionalities.
- Common Application Controls [5]
The application controls allow you to share an application's functionality. Using another application's features through application controls reduces the time and effort needed to develop your own application. You can also allow other applications to share your functionality by exporting your application control functionalities.
- Application Manager [6]
You can retrieve information about the applications installed on the device. You can also get information about the currently-running application.
- Package Manager [7]
You can retrieve information about the packages installed on the device. You can also monitor for changes in the device packages.
- Event Broadcast and Subscription [8]
You can use events to advertise your application activities, or listen for events from other applications or the system. You can broadcast events from your application to all who want to listen. You can also subscribe to events to keep track of what is happening in the system or other applications.