Resource Definition to Uninstall an Application on Android Devices
A sample resource definition, together with details on the information that is added in the JSON are as follows:
Sample definition JSON to uninstall an application
The following are sample configurations that can be used in a JSON to uninstall applications on Android devices:
Property definitions
Property | Description | Data Type | Example | ||
---|---|---|---|---|---|
operation | This specifies the operation that is to be applied on the Android device. | Yes | N/A | operation | |
| ID of the Android device. Multiple device IDs can be added by using comma separated values. | Yes | N/A | String | d8:50:e6:2f:6a:8b |
operation
Property | Description | Data Type | Example | ||
---|---|---|---|---|---|
| The package name of the application to be uninstalled. For more information on how to identify the package name of the application, see /wiki/spaces/EDP/pages/41517157. This property is not applicable for web apps (web clips) as a web app is a browser bookmark for an application. | Yes | N/A | String | com.facebook.katana |
type
| The type of the application. The following types of applications are supported: enterprise, public and webapp.
| Yes | N/A | String | enterprise |
url | The URL of the application. This property is not applicable for public apps, because public apps the store apps are specifically searched in the Android marker via the respective application API (e.g., Google API) using its app identifier. | Yes | N/A | String | google.lk |
name | The name of the application. This field is mandatory when adding web apps (web clips), and optional when adding enterprise apps and public apps (store apps). | No | N/A | String |