From 7dd0d957634cd455305cf84ee09806500c003af0 Mon Sep 17 00:00:00 2001 From: zy8118 Date: Tue, 18 Oct 2022 14:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E5=86=99=E8=8B=B1=E6=96=87=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 131 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 109 insertions(+), 22 deletions(-) diff --git a/README.en.md b/README.en.md index ab349a7..ae169aa 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +1,123 @@ # applications_filemanager #### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} +Description #### Software Architecture -Software architecture description +   |-- AppScope +    |   |-- app.json5 +    |   |-- resources +    |       |-- base +    |           |-- element +    |           |   |-- string.json +    |           |-- media +    |               |-- app_icon.png +    |               |-- icon_new.png +    |-- entry +        |-- .gitignore +        |-- build-profile.json5 +        |-- hvigorfile.js +        |-- package-lock.json +        |-- package.json +        |-- src +            |-- main +            |   |-- module.json5 +            |   |-- ets +            |   |   |-- Application +            |   |   |   |-- AbilityStage.ts +            |   |   |-- Components +            |   |   |   |-- BottomView.ets //USB flash disk editing UI +            |   |   |   |-- ClassifyTitle.ets //Tabbar at the top of the home page +            |   |   |   |-- ClassityList.ets //Home classification module interface +            |   |   |   |-- LatelyList.ets //Home Recent Module Interface +            |   |   |   |-- LoadingView.ets //loading +            |   |   |   |-- USBDrive.ets //Home USB flash disk module interface +            |   |   |   |-- VideoController.ets //Audio and video playback +            |   |   |   |-- VideoGestureView.ets//Audio and video playback +            |   |   |   |-- VideoView.ets //Audio and video playback +            |   |   |-- Item Secondary interface item +            |   |   |   |-- FilesItem.ets +            |   |   |   |-- ImageItem.ets +            |   |   |   |-- VideoItem.ets +            |   |   |   |-- VoiceItem.ets +            |   |   |-- MainAbility +            |   |   |   |-- MainAbility.ts +            |   |   |-- Model ///model +            |   |   |   |-- Constants.ets // +            |   |   |   |-- DateTimeUtil.ts// +            |   |   |   |-- FileInfo.ets //file data model +            |   |   |   |-- Logger.ts //log +            |   |   |   |-- MediaUtils.ts //Media +            |   |   |   |-- TimeUtils.ts +            |   |   |   |-- USBDeriveModel.ts//USB stick operation +            |   |   |   |-- media //media +            |   |   |       |-- MediaAssetBuilder.ts +            |   |   |       |-- MediaConstants.ts +            |   |   |       |-- MediaLibOperator.ts +            |   |   |       |-- MediaPlayService.ts +            |   |   |-- pages //page +            |   |   |   |-- ClassifyIndex.ets //home +            |   |   |   |-- FileClassify.ets //file +            |   |   |   |-- FileLevelList.ets //level +            |   |   |   |-- imageFile.ets //image +            |   |   |   |-- ImagePreview.ets //Image Preview +            |   |   |   |-- MoveFileBrowser.ets +            |   |   |   |-- SearchPage.ets //search +            |   |   |   |-- SecondFold.ets +            |   |   |   |-- USBShowList.ets //USB list +            |   |   |   |-- videoFile.ets //video +            |   |   |   |-- video_player.ets //video player +            |   |   |   |-- VoiceClassify.ets //voice +            |   |   |-- PlayerAbility +            |   |   |   |-- PlayerAbility.ts +            |   |   |-- util +            |   |   |   |-- DateTimeUtils.ts +            |   |   |   |-- LogUtils.ts +            |   |   |   |-- SysPermissionUtils.ts +            |   |   |-- view +            |   |   |   |-- MediaItem.ets +            |   |   |   |-- RenameDialog.ets +            |   |   |   |-- TitleBar.ets +            |   |   |-- workers +            |   |       |-- DataWorker.js +            |   |       |-- FileDirWorker.js +            |   |       |-- FilesWorker.js -#### Installation -1. xxxx -2. xxxx -3. xxxx -#### Instructions +#### Use Scenarios -1. xxxx -2. xxxx -3. xxxx +1. Supported language: TypeScript -#### Contribution +2. Operating system limitation: OpenHarmony operating system -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request +3. Model limitation: Stage model +#### Permission -#### Gitee Feature +ohos.permission.MEDIA_LOCATION +ohos.permission.READ_MEDIA +ohos.permission.WRITE_MEDIA +ohos.permission.STORAGE_MANAGER +ohos.permission.WRITE_USER_STORAGE -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +#### Constraints and restrictions + +1. This example only supports running on a standard system + +2. This example is a stage model, which is supported from API version 9 SDK5.0.1 + +3. This example can only be compiled and run with DevEco Studio 3.0.0.900 or above + +4. Because it is a system application, it needs to be sent in and cannot be directly installed. Hdc installation method +hdc shell mount -o rw,remount / ; + +hdc_std shell rm -f /system/app/filemanager.hap ; + +hdc_std shell reboot + +hdc shell mount -o rw,remount / + +hdc_std file send 'Local hap path' /system/app/ + +hdc_std shell reboot \ No newline at end of file -- Gitee