Alternatives to the installapplication method
Environment
- Knox SDK
- Devices running Android 13 or higher
Overview
Starting from Android 13, the installApplication
method of the ApplicationPolicy
class is deprecated. Currently, there are no successor methods that replace it.
Alternatives to the installApplication method
There are a few alternative means available to you for installing an app on a device:
-
Android has the
PackageInstaller
class, which can be used to install and uninstall apps. -
With Knox Configure, apps can be installed in the background by uploading an app and adding it to a profile.
On this page
Is this page helpful?