harmony 鸿蒙Application File Overview

  • 2023-06-24
  • 浏览 (637)

Application File Overview

Application files are files of an application, including the application’s installation files, resource files, and cache files.

  • The data used and saved by an application is stored in files, key-value (KV) pairs, and databases in a dedicated directory on a device. This directory is called application file directory, and the files in the directory are application files.

  • The directories visible to an application include the application file directory and a directory containing the minimum system files required for the running of the application. These two directories constitute an application sandbox directory. That is, the application file directory is a subset of the application sandbox directory.

  • The system files and directories are read-only for the application. The application can only save files to sub-directories in the application file directory based on certain rules.

The following topics describe the application sandbox, application file directories, and how to access, manage, and share application files.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙File Management

harmony 鸿蒙Accessing Application Files

harmony 鸿蒙Backup and Restoration Accessed by Applications

harmony 鸿蒙Application Data Backup and Restoration Overview

harmony 鸿蒙Backup and Restoration Triggered by System Applications

harmony 鸿蒙Uploading and Downloading an Application File

harmony 鸿蒙Obtaining Application and File System Space Statistics

harmony 鸿蒙Application Sandbox Directory

harmony 鸿蒙Developing a File Manager Application (for System Applications Only)

harmony 鸿蒙Distributed File System Overview

0  赞