Filename extension | .app ,.hap |
---|---|
Developed by | Huawei |
Type of format | Package format |
Container for | |
Extended from | JAR |
The HarmonyOS App Pack or the App file, identified with the file extension ".app",[1] serves as the file format used by the HarmonyOS operating system. It functions as a native HarmonyOS app for distribution and installation through Huawei AppGallery,[2] or for distribution through Huawei Ability Gallery in respect of installation-free apps under both former classic dual-framework and current HarmonyOS NEXT system of unified OpenHarmony app framework. The App file is also used by a number of other open source HarmonyOS-based operating systems such as OpenHarmony and Oniro OS-based operating systems for distribution and installation of applications, video games and middleware. Including non OpenHarmony-based operating systems, such as GNU Linux-based Unity Operating System that supports the app file format.[3] [4][5][6][7]
Each HarmonyOS app contains one or more HarmonyOS Ability Package (HAP, Chinese: 鸿蒙能力包; pinyin: Hóngméng Nénglì Bāo) files with the file extension ".hap",[8] and the pack.info
file that describes the attributes of the App file.[9][1]
Most HarmonyOS apps contain at least one HAP file of the entry type, which is the main module of the app, and additional HAP files of the feature type, which is used to implement a specific app feature.[9]
The package management subsystem within OpenHarmony for handling app installation packages. When considering a PC environment. Installation and Update function allows users to install or update applications by interacting with the package manager through a graphical user interface or command-line interface. Query and Uninstallation function enable users to query installed packages and uninstall unwanted ones using similar interfaces. Also, storage where Package information would be stored in a database or configuration files on the PC. The package management subsystem ensures frictionless management of app packages, regardless of the device form.[10]