Updated on 2023-03-16 GMT+08:00

appctrl Commands

Command Overview

appctrl is a new CPH command line. It supports quick start, installation, uninstallation, and clearance of applications only through the PushShareApps API.

Example Commands

usage: appctrl [start] [install] [uninstall] [clear]
appctrl start package_name package.activity_name
appctrl install package_name
appctrl uninstall package_name
appctrl clear

Descriptions of Parameters in the Commands

start: Start the application that has been successfully pushed based on the value of package_name and package.activity_name.

install: Install the application that has been successfully pushed to the shared storage based on the value of package name.

uninstall: Uninstall an application based on the value of package name. Only applications started by running the appctrl start or install command are supported.

clear: Uninstall or clear all non-preinstalled applications that are started or installed by running the appctrl start command.