Mobile Web Wearable Web

Package

Package management and installation features include retrieving detailed information about packages, such as package name, icon path, version details, and package ID. You can receive notifications if packages are updated or removed, or new packages are installed. You can also perform package management tasks, such as installing or uninstalling packages.

The Package API is mandatory for both Tizen mobile and wearable profiles, which means that it is supported in all mobile and wearable devices. All mandatory APIs are supported on the Tizen Emulators.

The main package features are:

  • Package management

    You can manage the package installation using the install() and uninstall() methods of the PackageManager interface (in mobile and wearable applications). Additionally, you can receive notifications of the installation and uninstallation progress using the PackageProgressCallback interface (in mobile and wearable applications).

  • Package information retrieval

    You can retrieve information about packages in various ways:

    • Retrieve information about installed packages using the getPackageInfo() and getPackagesInfo() methods of the PackageManager interface.
    • Use the PackageInformation interface (in mobile and wearable applications) to retrieve information about installed packages, such as name, icon path, and version.
  • Package change notifications

    You can receive notifications of changes in the list of installed packages. The setPackageInfoEventListener() method of the PackageManager interface registers an event listener for changes in the installed packages list. To unsubscribe the listener, use the unsetPackageInfoEventListener() method. You can use the PackageInformationEventCallback interface (in mobile and wearable applications) to define listeners for receiving notifications.

Go to top