App (file format)

APP
Filename extension
.app,.hap
Developed byHuawei
Type of formatPackage format
Container for
Extended fromJAR

The HarmonyOS App Pack or the App file, identified with the file extension ".app", 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,[1] 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.[2] [3][4][5][6]

Each HarmonyOS app contains one or more HarmonyOS Ability Package (HAP) files with the file extension ".hap",[7] and the pack.info file that describes the attributes of the App file.[8]

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.[8]

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.[9]

  1. ^ "HarmonyOS Project Overview". developer.harmonyos.com. Retrieved 2023-08-23.
  2. ^ "UOS could support HarmonyOS hap app format". HC Newsroom. Retrieved 15 January 2024.
  3. ^ "Application Fundamentals". developer.harmonyos.com. Retrieved 2023-08-20.
  4. ^ "What Is an Atomic Service". developer.harmonyos.com. Retrieved 2023-08-20.
  5. ^ Li, Deng (2022-11-28). "Orange Pi OS launched, based on Huawei HarmonyOS". Huawei Central. Retrieved 2023-11-30.
  6. ^ Anand, Abhinav (2023-11-13). "Huawei ditches Android with HarmonyOS Next". Android Headlines. Retrieved 2023-12-09.
  7. ^ "HAP File - What is a .hap file and how do I open it?". fileinfo.com. Retrieved 2023-08-20.
  8. ^ a b "Application Package Structure in Stage Model". developer.harmonyos.com. Retrieved 2023-08-20.
  9. ^ "Package management subsystem". Gitee. Retrieved 13 April 2023.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search