diff --git a/ArkUI/UI_Component_Performance_Optimization/README.md b/ArkUI/UI_Component_Performance_Optimization/README.md index 22da2a4422bf7cc90936c35d4b32c3a7dfb22fe4..7dce1191c4f91d3af842f63ba14434fc68a2cc16 100644 --- a/ArkUI/UI_Component_Performance_Optimization/README.md +++ b/ArkUI/UI_Component_Performance_Optimization/README.md @@ -4,7 +4,7 @@ 本示例代码为最佳实践《UI组件性能优化》配套示例代码。 -#### 使用说明 +### 使用说明 不涉及 diff --git a/DealStrideSolution/README.en.md b/DealStrideSolution/README.en.md index ca63a06e9d28d38917f0a04e83400e22d139f092..041d53e0f9350625c60fdc60d1edf9702f7a0203 100644 --- a/DealStrideSolution/README.en.md +++ b/DealStrideSolution/README.en.md @@ -20,7 +20,7 @@ The images are for reference only. The actual camera preview and captured images 2. Tap **Process stride: solution 2** on the parent page to redirect to the child page **DealStrideTwo**. The camera preview stream is displayed on the child page, and no artifact appears. -### Project Directory +## Project Directory ``` ├──entry/src/main/ets/ @@ -151,15 +151,15 @@ function onImageArrival(receiver: image.ImageReceiver): void { }) } ``` -### Required Permissions +## Required Permissions **ohos.permission.CAMERA**: allows an application to use the camera. -### Dependencies +## Dependencies N/A -### Constraints +## Constraints 1. This sample is supported only on Huawei phones with standard systems. @@ -167,4 +167,15 @@ N/A 3. The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. -4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. \ No newline at end of file +4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. + +## Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo DealStrideSolution/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/DealStrideSolution/README.md b/DealStrideSolution/README.md index 56c5def562dbadb70361e174aa5a14c3120b2bcc..ad4e9d3c1d9ad02a08eeb921f04c6d23cab17a81 100644 --- a/DealStrideSolution/README.md +++ b/DealStrideSolution/README.md @@ -20,7 +20,7 @@ 2、父页面点击"处理stride:方案二"按钮,跳转子页面DealStrideTwo,子页面的预览界面展示相机预览流,无明显花屏现象。 -### 目录结构 +## 目录结构 ``` ├──entry/src/main/ets/ @@ -151,15 +151,15 @@ function onImageArrival(receiver: image.ImageReceiver): void { }) } ``` -### 相关权限 +## 相关权限 允许应用使用相机:ohos.permission.CAMERA -### 依赖 +## 依赖 不涉及。 -### 约束与限制 +## 约束与限制 1.本示例仅支持标准系统上运行,支持设备:华为手机。 @@ -167,4 +167,15 @@ function onImageArrival(receiver: image.ImageReceiver): void { 3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo DealStrideSolution/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/ExpandSafeArea/README_zh.md b/ExpandSafeArea/README_zh.md index 004684e64cdb92d14ed7046227379261e7b0e4f7..cde6a9452b898cea341e47ad6a1290437db1e70d 100644 --- a/ExpandSafeArea/README_zh.md +++ b/ExpandSafeArea/README_zh.md @@ -38,4 +38,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.1.1 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.1.1 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.1.1 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.1.1 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ExpandSafeArea/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/FitForDarkMode/README.md b/FitForDarkMode/README.md index 43e47c2fdb2a7f171534494be253547d5b547b85..7bbcaf3896f2c597a4726ae076e45ad90a30fb6f 100644 --- a/FitForDarkMode/README.md +++ b/FitForDarkMode/README.md @@ -16,4 +16,15 @@ 3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo FitForDarkMode/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/FoldableGuilde/README.md b/FoldableGuilde/README.md index f6e3da03686d459b85cda64275f3b172c29ba13a..4a52f36d8582f23ff7a38bca168d3bfb6fb8f4b9 100644 --- a/FoldableGuilde/README.md +++ b/FoldableGuilde/README.md @@ -39,4 +39,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo FoldableGuilde/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/FramedRendering/README.md b/FramedRendering/README.md index 36b8963e079e653a811e34dd63341a849ee0d24c..753067912092de5110686bc2b878e6d89f455d70 100644 --- a/FramedRendering/README.md +++ b/FramedRendering/README.md @@ -60,4 +60,15 @@ * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo FramedRendering/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/FramedRendering/README_EN.md b/FramedRendering/README_EN.md index 90ccd5e3a798ec9dafea47e5a30aee7a8da3b4f4..d32675971fc40f907bf0816d3c9dca3c620db1cb 100644 --- a/FramedRendering/README_EN.md +++ b/FramedRendering/README_EN.md @@ -61,3 +61,14 @@ N/A * The HarmonyOS version must be HarmonyOS 5.0.5 Release or later. * The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. * The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. + +### Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo FramedRendering/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/FuzzySceneOptimization/README.en.md b/FuzzySceneOptimization/README.en.md index ec669ec270cb8422543e0bd4c59133211a83290c..745c7c8f65f3d4b8de36c00884d5275860dcc19c 100644 --- a/FuzzySceneOptimization/README.en.md +++ b/FuzzySceneOptimization/README.en.md @@ -57,3 +57,14 @@ N/A 3. The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. 4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. + +### Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo FuzzySceneOptimization/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/FuzzySceneOptimization/README.md b/FuzzySceneOptimization/README.md index ac6d30cd868a7058dc596ceb051cf44d21438b3d..e0b488e85f06f9bc24388d67a0ba014b3c4131f1 100644 --- a/FuzzySceneOptimization/README.md +++ b/FuzzySceneOptimization/README.md @@ -57,3 +57,14 @@ 3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo FuzzySceneOptimization/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/GesturesConfictPractice/README.md b/GesturesConfictPractice/README.md index b9a583fbbcafde0fd6aaa46428d78abf16f05ffd..650d4375e343e251b608fd63b5f9870e940d5783 100644 --- a/GesturesConfictPractice/README.md +++ b/GesturesConfictPractice/README.md @@ -40,4 +40,15 @@ * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo GesturesConfictPractice/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/GlobalCustomComponentReuse/ComponentPrebuild/README.md b/GlobalCustomComponentReuse/ComponentPrebuild/README.md index 501ced4def88c98b8dfa9c7deb71799e6519a1db..c53b5fe34986e28abb232f501408733546b84afc 100644 --- a/GlobalCustomComponentReuse/ComponentPrebuild/README.md +++ b/GlobalCustomComponentReuse/ComponentPrebuild/README.md @@ -13,4 +13,15 @@ ComponentPrebuildByOnIdle 全局自定义组件复用实现#使用onIdle进行 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo GlobalCustomComponentReuse/ComponentPrebuild/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/GridComponentLoadSlow/README.md b/GridComponentLoadSlow/README.md index a32db1f60a194cf8904284cc6a7df51d437e3de0..f0e833be795c619f612630c3f2ae77146af3e99e 100644 --- a/GridComponentLoadSlow/README.md +++ b/GridComponentLoadSlow/README.md @@ -31,4 +31,15 @@ * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo GridComponentLoadSlow/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/HDRVivid/AVCodecVideo/README.en.md b/HDRVivid/AVCodecVideo/README.en.md index 472cf9721252e12f52690de275539e9f1e1ce941..eb1ef98a27c21d3209bedcc9dd5c580d3b3e7a24 100644 --- a/HDRVivid/AVCodecVideo/README.en.md +++ b/HDRVivid/AVCodecVideo/README.en.md @@ -199,3 +199,14 @@ N/A 3. The DevEco Studio version must be DevEco Studio 5.1.0 Release or later. 4. The HarmonyOS SDK version must be HarmonyOS 5.1.0 Release or later. + +### Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo HDRVivid/AVCodecVideo/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/HDRVivid/AVCodecVideo/README.md b/HDRVivid/AVCodecVideo/README.md index 9ae5cbce2d51d0b12b15bcc0eb48ee2f01920c37..15a073c950e63a3e504f0251a7959f1938064d93 100644 --- a/HDRVivid/AVCodecVideo/README.md +++ b/HDRVivid/AVCodecVideo/README.md @@ -161,4 +161,15 @@ * DevEco Studio版本:DevEco Studio 5.1.0 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.1.0 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.1.0 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo HDRVivid/AVCodecVideo/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/HDRVivid/AVPlayer/README.md b/HDRVivid/AVPlayer/README.md index e6bc28b8ee7bf9631edefbf8396c7fe36f3c5899..944700acf87cbdeea94eb5a6d1e7228ad0412ebf 100644 --- a/HDRVivid/AVPlayer/README.md +++ b/HDRVivid/AVPlayer/README.md @@ -70,3 +70,14 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo HDRVivid/AVPlayer/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/HDRVivid/AVRecorder/README.en.md b/HDRVivid/AVRecorder/README.en.md index 568d11f12a98bb2963c9481f04e4c23f51b52c2f..9e46bb2cec529788cebabe63798188948d3856a7 100644 --- a/HDRVivid/AVRecorder/README.en.md +++ b/HDRVivid/AVRecorder/README.en.md @@ -58,3 +58,14 @@ This sample demonstrates the use of Camera Kit to customize a camera and use the 3. The DevEco Studio version must be DevEco Studio 5.1.0 Release or later. 4. The HarmonyOS SDK version must be HarmonyOS 5.1.0 Release SDK or later. + +### Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo HDRVivid/AVRecorder/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/HDRVivid/AVRecorder/README.md b/HDRVivid/AVRecorder/README.md index a38178b387e3af1f35346864f3bf77036e46cce1..268c94a9129d91f1a9b4140eb33f472a33ca79b1 100644 --- a/HDRVivid/AVRecorder/README.md +++ b/HDRVivid/AVRecorder/README.md @@ -57,3 +57,14 @@ 4. HarmonyOS SDK版本:HarmonyOS 5.1.0 Release SDK及以上。 +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo HDRVivid/AVRecorder/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` + diff --git a/HDRVivid/ProcessingInterfaceTest/README.md b/HDRVivid/ProcessingInterfaceTest/README.md index ee6c347a7e52bf87693edb97996283035241a6e7..2ecacfbde69cb8b147af9bee0a5c9dc98d846af1 100644 --- a/HDRVivid/ProcessingInterfaceTest/README.md +++ b/HDRVivid/ProcessingInterfaceTest/README.md @@ -19,3 +19,14 @@ 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo HDRVivid/ProcessingInterfaceTest/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/HapAndHarDependHar/README.md b/HapAndHarDependHar/README.md index 9223b93be64191ea6d2f2be418819ad4591a805e..70f6a47ec7fb07c71b6af24c11f749ef01a287dc 100644 --- a/HapAndHarDependHar/README.md +++ b/HapAndHarDependHar/README.md @@ -42,4 +42,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo HapAndHarDependHar/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/ImageEditTaskPool/README.md b/ImageEditTaskPool/README.md index 541e5c294623edb31bb43ea9d4b589c08d1afe93..a94d8174ac7d758344b62598ba127d9f4822ffda 100644 --- a/ImageEditTaskPool/README.md +++ b/ImageEditTaskPool/README.md @@ -55,4 +55,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ImageEditTaskPool/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/ImageWhiteLumpSolution/PreHttpRequestUseFiles/README.md b/ImageWhiteLumpSolution/PreHttpRequestUseFiles/README.md index 02070f7697aaef1c3e9d12c99aea1a0c585bd9f0..8335a3cd567be3d2471b58afe5c7babda178dac2 100644 --- a/ImageWhiteLumpSolution/PreHttpRequestUseFiles/README.md +++ b/ImageWhiteLumpSolution/PreHttpRequestUseFiles/README.md @@ -13,4 +13,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ImageWhiteLumpSolution/PreHttpRequestUseFiles/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/ImageWhiteLumpSolution/UseImageHttpRequest/README.md b/ImageWhiteLumpSolution/UseImageHttpRequest/README.md index 1c7dd37d6d740aefb9cbef88375628523462b9a0..5fca501b8d59271e88a30202345267f12c6e0c3e 100644 --- a/ImageWhiteLumpSolution/UseImageHttpRequest/README.md +++ b/ImageWhiteLumpSolution/UseImageHttpRequest/README.md @@ -13,4 +13,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ImageWhiteLumpSolution/UseImageHttpRequest/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/JSCrash/README.md b/JSCrash/README.md index c20f7ed83a625ecb9319994cc960cacf18a12103..8e3cea201c68ce2d243d3c33368300bca90a1549 100644 --- a/JSCrash/README.md +++ b/JSCrash/README.md @@ -48,4 +48,15 @@ 3. DevEco Studio版本:DevEco Studio NEXT 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo JSCrash/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/LibuvDevelopment/README.md b/LibuvDevelopment/README.md index 03fad0ef0882ec2df39693e8213e3bd1cf733155..c1da16b98508dbf4b39aa120edb37f1effd4080b 100644 --- a/LibuvDevelopment/README.md +++ b/LibuvDevelopment/README.md @@ -38,4 +38,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo LibuvDevelopment/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/LiteWearable/README.md b/LiteWearable/README.md index d9196795a5f2c7fe1926668e21323f9a4bcf2e51..c5bf23905dcbc6577c1fa7bf248fef21ed26a745 100644 --- a/LiteWearable/README.md +++ b/LiteWearable/README.md @@ -87,4 +87,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手表。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo LiteWearable/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/LoadPerformanceInWeb/README.md b/LoadPerformanceInWeb/README.md index 9f0b33e2de5bdd3887cca7f32cf673c9d72cd51c..23289c8f0298845c29c4730775347d2ff957e73c 100644 --- a/LoadPerformanceInWeb/README.md +++ b/LoadPerformanceInWeb/README.md @@ -80,4 +80,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo LoadPerformanceInWeb/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/LowPowerOfForegroundTask/README.md b/LowPowerOfForegroundTask/README.md index 55dcd73db4b00c7e1eb407b8fc18668616fae926..a5d23a373c690de014a22305c0057dd3f6ae7234 100644 --- a/LowPowerOfForegroundTask/README.md +++ b/LowPowerOfForegroundTask/README.md @@ -35,4 +35,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo LowPowerOfForegroundTask/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/MaliangGPU/README.md b/MaliangGPU/README.md index e7c3509cd044999928eacdec486ab7ff1827baf1..92b355346264b72d07252566e812da286c444fd4 100644 --- a/MaliangGPU/README.md +++ b/MaliangGPU/README.md @@ -40,4 +40,15 @@ 3. DevEco Studio版本:DevEco Studio NEXT 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo MaliangGPU/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/MemoryDetection/README.md b/MemoryDetection/README.md index b134c206fc1a2278f05d7841ec87bc2261a9eb33..41b0eae37c21747cb28505c24278ec3f95550fd3 100644 --- a/MemoryDetection/README.md +++ b/MemoryDetection/README.md @@ -56,4 +56,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo MemoryDetection/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/MultipleImage/README.md b/MultipleImage/README.md index 5fa06eb22e7ecfdcae9fea610770a1b877c38266..01563c0f53fba0a4234ad722f1730e9bc687bf38 100644 --- a/MultipleImage/README.md +++ b/MultipleImage/README.md @@ -48,4 +48,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo MultipleImage/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/NavigationRouter/README.md b/NavigationRouter/README.md index ca5d0793be1b3023b742372390685cabda425fc5..f1e07a062b2528407a2559f96470e190e6496ac2 100644 --- a/NavigationRouter/README.md +++ b/NavigationRouter/README.md @@ -70,4 +70,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo NavigationRouter/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/NdkDrawing/README.md b/NdkDrawing/README.md index 91a6546165855723b2b9a8cbada848b1140a26bd..7bdae6761df2ff73229cf991d196e6f99cb027c0 100644 --- a/NdkDrawing/README.md +++ b/NdkDrawing/README.md @@ -41,4 +41,15 @@ Canvas画布组件是用来显示自绘内容的组件,它具有保留历史 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo NdkDrawing/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/NdkDrawing/README_EN.md b/NdkDrawing/README_EN.md index 95bd6fe36e0fce83d06a7d3ff227b02e771de3e3..54b53decd31de7cfbb7ebf96d3759c605f41c6ce 100644 --- a/NdkDrawing/README_EN.md +++ b/NdkDrawing/README_EN.md @@ -42,3 +42,14 @@ N/A * The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. * The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. + +## Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo NdkDrawing/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/NdkQoS/README.md b/NdkQoS/README.md index c8fb54ecdfe88940d135aa0f7082b1a80b5b4d57..ac9071b28e086ff4ece6e2c6d84088817ce80fc8 100644 --- a/NdkQoS/README.md +++ b/NdkQoS/README.md @@ -63,10 +63,21 @@ ### 约束与限制 -1.本示例仅支持标准系统上运行,支持设备:华为手机。 +1. 本示例仅支持标准系统上运行,支持设备:华为手机。 -2.HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 +2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 -3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 +3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo NdkQoS/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/NetworkManagement/README.md b/NetworkManagement/README.md index 6305b36f97c5d678a755a44331de0eadf3f2b914..eb9ae1f2631188f8e84485b8663676b9a840e6d5 100644 --- a/NetworkManagement/README.md +++ b/NetworkManagement/README.md @@ -39,20 +39,32 @@ * 点击“切换视频到高清晰度”按钮时,会切换当前视频到较高的清晰度,当网络质量好的情况下可自行切换。 注:此示例代码使用的是加载本地视频的方式,开发时,可以根据需要使用其他加载视频资源的方式,如加载沙箱路径视频、加载网络视频。具体请参见:[加载视频资源](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/arkts-common-components-video-player#加载视频资源) + ## 相关权限 * ohos.permission.SET_WIFI_INFO 设置WIFI信息 - * ohos.permission.GET_WIFI_INFO 获取WIFI信息 - * ohos.permission.GET_NETWORK_INFO 获取网络信息 + ## 约束与限制 + * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo NetworkManagement/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/NodeAPIDevelopment/README.md b/NodeAPIDevelopment/README.md index 854f1da46506b4508f40a2c986851d8ebe13a3b1..45306b9fe48d2dda9eec827c9a7c0d7f22841cb3 100644 --- a/NodeAPIDevelopment/README.md +++ b/NodeAPIDevelopment/README.md @@ -41,4 +41,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo NodeAPIDevelopment/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/NonSameLayerRendering/README.md b/NonSameLayerRendering/README.md index 92d537d08b8b5d5bd9b43c39bf0461c7f431d7c0..eba3b823f79d954686053b9c914bd1bb0ead1e3f 100644 --- a/NonSameLayerRendering/README.md +++ b/NonSameLayerRendering/README.md @@ -37,4 +37,15 @@ * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo NonSameLayerRendering/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/OomCase/README.md b/OomCase/README.md index 9293a43aff8a3835df5473e5109ae4309beb8ca6..ce10cab787a54ca931195ee719bb3d83e98513be 100644 --- a/OomCase/README.md +++ b/OomCase/README.md @@ -40,4 +40,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo OomCase/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/OptimizationAppDelay/README.md b/OptimizationAppDelay/README.md index bcab1550cfd85afc6fe3f78ed416dda670fa37d3..a0a3d679e15be4b751b6a4d02f942f49833b9ff8 100644 --- a/OptimizationAppDelay/README.md +++ b/OptimizationAppDelay/README.md @@ -68,4 +68,15 @@ 3. DevEco Studio版本:DevEco Studio NEXT 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo OptimizationAppDelay/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/OptimizationAppMemoryUsage/README.md b/OptimizationAppMemoryUsage/README.md index efaed05105c0becd7c27d620ff8f276976034bd3..4d32b230f42bef460004e15c92a39aa13e34bf75 100644 --- a/OptimizationAppMemoryUsage/README.md +++ b/OptimizationAppMemoryUsage/README.md @@ -40,4 +40,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo OptimizationAppMemoryUsage/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PCProject/README.md b/PCProject/README.md index 2d61f1d5e374e78cdf1714046445d6f25f402624..292a4c94451a8a66474b5b75bfb965bdd35d5895 100644 --- a/PCProject/README.md +++ b/PCProject/README.md @@ -42,4 +42,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:PC电脑。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PCProject/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PerformanceAnalysis/BptaDelayAnalysis/README.md b/PerformanceAnalysis/BptaDelayAnalysis/README.md index 1a2cb49f0961a8dfe0c77c8de9a55d841b24fe0c..3c62014a25d91cb2f4b13142a592af732d6ee3f2 100644 --- a/PerformanceAnalysis/BptaDelayAnalysis/README.md +++ b/PerformanceAnalysis/BptaDelayAnalysis/README.md @@ -42,4 +42,15 @@ animationDuration属性有300ms的动画时长,当该属性值设置过长时 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PerformanceAnalysis/BptaDelayAnalysis/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PerformanceAnalysis/BptaFramePractice/README.md b/PerformanceAnalysis/BptaFramePractice/README.md index aa81059aed16d30b46581d80c10f68cc089ea399..1418fa2544cb9217923bb093556e135dd2c32cc7 100644 --- a/PerformanceAnalysis/BptaFramePractice/README.md +++ b/PerformanceAnalysis/BptaFramePractice/README.md @@ -4,11 +4,11 @@ 本示例代码为最佳实践《帧率问题分析》配套示例代码。 -#### 使用说明 +### 使用说明 不涉及 -## 工程目录 +### 工程目录 ``` ├──entry/src/main/ets @@ -30,9 +30,20 @@ 不涉及 -## 约束与限制 +### 约束与限制 * 本示例仅支持标准系统上运行,支持设备:华为手机。 * HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PerformanceAnalysis/BptaFramePractice/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PerformanceAnalysis/CrossThreadSerializationDelay/README.md b/PerformanceAnalysis/CrossThreadSerializationDelay/README.md index a6d4361ea131037ab97b4cb8a25c3f490a7bcb55..6f8e1d727d7bd38975627ef58ad72bec01fbf074 100644 --- a/PerformanceAnalysis/CrossThreadSerializationDelay/README.md +++ b/PerformanceAnalysis/CrossThreadSerializationDelay/README.md @@ -41,4 +41,15 @@ 3. DevEco Studio版本:DevEco Studio NEXT 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PerformanceAnalysis/CrossThreadSerializationDelay/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PowerAnalysis/InvisibleSample/README.md b/PowerAnalysis/InvisibleSample/README.md index b3c274d5f77c574486cd7b273d109f4f2eeaa47a..2fb17fca4dd4d633b62bf6e3e0306aea86f3f473 100644 --- a/PowerAnalysis/InvisibleSample/README.md +++ b/PowerAnalysis/InvisibleSample/README.md @@ -43,4 +43,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PowerAnalysis/InvisibleSample/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PowerAnalysis/LowerPowerSample/README.md b/PowerAnalysis/LowerPowerSample/README.md index 5280d102a24070773499b4161a5faa0f66e474cc..bd5d5f4a01290bac4c2bc54b8a7dbe0f4500c8a7 100644 --- a/PowerAnalysis/LowerPowerSample/README.md +++ b/PowerAnalysis/LowerPowerSample/README.md @@ -43,4 +43,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PowerAnalysis/LowerPowerSample/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/PreHttpRequestUseFiles/README.md b/PreHttpRequestUseFiles/README.md index 1189227ba7931ea8fc46a209712777b9d431a097..1a991e6626a013fb67eb40b4a10c255969f26c32 100644 --- a/PreHttpRequestUseFiles/README.md +++ b/PreHttpRequestUseFiles/README.md @@ -54,3 +54,14 @@ 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo PreHttpRequestUseFiles/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/Privacy/README.md b/Privacy/README.md index 5468c7ca4c9a337cbd41fcc7f783a27a3e2555fa..971cc133c65bc1034ed56a5b95fc7edd9a6ecfd7 100644 --- a/Privacy/README.md +++ b/Privacy/README.md @@ -58,11 +58,11 @@ └── resources // 资源目录内容不展开 ``` -### 相关权限 +## 相关权限 不涉及。 -### 约束与限制 +## 约束与限制 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 @@ -70,4 +70,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo Privacy/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/RationalUseOfFrontEndResources/README.md b/RationalUseOfFrontEndResources/README.md index 73018d77f7b26b56c5c3bd2072211b9b63f4c324..c72b4fb55edd43d5871860e0f9d354966bf273c9 100644 --- a/RationalUseOfFrontEndResources/README.md +++ b/RationalUseOfFrontEndResources/README.md @@ -49,3 +49,14 @@ APM(Application Performance Management)是一种用于监控和管理应用 3. DevEco Studio 版本:DevEco Studio 5.0.5 Release及以上。 4. HarmonyOS SDK 版本:HarmonyOS 5.0.5 Release及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo RationalUseOfFrontEndResources/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/ResponsiveLayout/README.md b/ResponsiveLayout/README.md index 59cd5656b5276606b08c9e0da6bd82b3f3900358..e2230a3cd72a335374018cd4f3cabbfe5a7f5c6f 100644 --- a/ResponsiveLayout/README.md +++ b/ResponsiveLayout/README.md @@ -40,4 +40,15 @@ 3. DevEco Studio版本:DevEco Studio NEXT 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ResponsiveLayout/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/ScreenFlickerSolution/README.md b/ScreenFlickerSolution/README.md index 17a01d38830b0229528ebb62491b0fb4de374bc6..3be70a0653e244654fc3ba4ebd6c7eff241245c0 100644 --- a/ScreenFlickerSolution/README.md +++ b/ScreenFlickerSolution/README.md @@ -35,7 +35,7 @@ └──entry/src/main/resources // 应用静态资源目录 ``` -# 具体实现 +## 具体实现 1. 连续点击场景:当点击时,计数器加1,进行动画逻辑。动画结束时,计数器减1。全部动画结束时,根据计数器判断最后执行缩放的大小。 2. Tabs切换场景:切换动画开始时触发下划线跟着页面一起滑动,同时宽度渐变(onAnimationStart方法)。切换动画结束时触发下划线动画停止(onAnimationEnd方法)。在页面跟手滑动过程中,逐帧触发下划线滑动距离、下划线宽度、下划线切换到不同页签等属性(getCurrentIndicatorInfo方法)。 @@ -49,7 +49,7 @@ 不涉及。 -### 约束与限制 +## 约束与限制 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 @@ -57,4 +57,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ScreenFlickerSolution/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/SegmentedPhotograph/README.md b/SegmentedPhotograph/README.md index b319c92d8ffb80da8b234c3ca1e6f36e47204e3b..116e95ba2dd08e68cd8b477919d5d9788fd622b9 100644 --- a/SegmentedPhotograph/README.md +++ b/SegmentedPhotograph/README.md @@ -244,4 +244,15 @@ 3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo SegmentedPhotograph/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/SimpleChatList/README.md b/SimpleChatList/README.md index 256475aca45e6fed7338f0434a75d769ca82c10a..3551f376f74a6e6aa87721c3a1096389cd70f2b8 100644 --- a/SimpleChatList/README.md +++ b/SimpleChatList/README.md @@ -39,11 +39,11 @@ └──entry/src/main/resources // 应用静态资源目录 ``` -## 相关权限 +### 相关权限 不涉及。 -## 约束与限制 +### 约束与限制 * 本示例仅支持标准系统上运行,支持设备:华为手机。 @@ -51,4 +51,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo SimpleChatList/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/StabilityCodingSpecification/README.md b/StabilityCodingSpecification/README.md index 1dca25d7d83778ade37254b9cc5cafbea15268da..1871ad89f18ff2bfe518037c92c1410a49bb6914 100644 --- a/StabilityCodingSpecification/README.md +++ b/StabilityCodingSpecification/README.md @@ -41,4 +41,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo StabilityCodingSpecification/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/SubwindowAdaptWhenRotate/README.md b/SubwindowAdaptWhenRotate/README.md index ff5ecb22a7e749dee6127047df26dc9dafcab082..26fbc443ad84f748c24af297f4b6793a25c0608e 100644 --- a/SubwindowAdaptWhenRotate/README.md +++ b/SubwindowAdaptWhenRotate/README.md @@ -45,4 +45,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo SubwindowAdaptWhenRotate/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/TaskPoolPractice/README.md b/TaskPoolPractice/README.md index 2acace59c12da13a9f815920e29c5bdae8359b05..8a21d9f8e915e38aaa25226092f7b9d514e20bd3 100644 --- a/TaskPoolPractice/README.md +++ b/TaskPoolPractice/README.md @@ -50,4 +50,15 @@ 3. DevEco Studio版本:DevEco Studio NEXT 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS NEXT 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo TaskPoolPractice/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/TextureHypercompression/README.md b/TextureHypercompression/README.md index b24d6956f0ce5d09ded2f8d56c488057173ff622..8428d2d6c96db96d2c5a16d6f44b1e3550ca6d59 100644 --- a/TextureHypercompression/README.md +++ b/TextureHypercompression/README.md @@ -48,4 +48,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo TextureHypercompression/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/ThreadIssueDetection/README.md b/ThreadIssueDetection/README.md index 0d4fa17c1ada3d314e79409b2b94ede0a4b476d4..4c75842c96a7762ddc2bb2400e37e938eb8cedfa 100644 --- a/ThreadIssueDetection/README.md +++ b/ThreadIssueDetection/README.md @@ -41,4 +41,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo ThreadIssueDetection/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/UseSendable/README.md b/UseSendable/README.md index 9a31d57cb24e4adc921ed7fb3040e025aee67856..fb2fec14d4a3c5de57a1b92ce2314a33b8882500 100644 --- a/UseSendable/README.md +++ b/UseSendable/README.md @@ -65,4 +65,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo UseSendable/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/VideoPlayerSample/README.md b/VideoPlayerSample/README.md index df8bda8ce6dcdc38cd03e62d9fe9c8a1b264878b..1570f83ebccb1b407d1ee2f4b1888e32581d44b4 100644 --- a/VideoPlayerSample/README.md +++ b/VideoPlayerSample/README.md @@ -75,3 +75,14 @@ 3. DevEco Studio版本:DevEco Studio 6.0.0 Release及以上。 4. HarmonyOS SDK版本:HarmonyOS 6.0.0 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo VideoPlayerSample/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/VideoPlayerSample/README_EN.md b/VideoPlayerSample/README_EN.md index 22a4cf0f4baaf6339bf637604e2d9b10f78065c3..61b7e415712faf27bd49522c0cd3ce1df84d374c 100644 --- a/VideoPlayerSample/README_EN.md +++ b/VideoPlayerSample/README_EN.md @@ -73,3 +73,14 @@ This sample demonstrates how to develop a video app using the AVPlayer and AVSes 3. The DevEco Studio version must be DevEco Studio 6.0.0 Release or later. 4. The HarmonyOS SDK version must be HarmonyOS 6.0.0 Release SDK or later. + +### Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo VideoPlayerSample/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/VideoProcessBaseWeb/README.md b/VideoProcessBaseWeb/README.md index fa4090b6a1abbb6cb22f820d998fb8776b45e43b..1341e9b08f1c8414518dc3d3119134b4e038d00e 100644 --- a/VideoProcessBaseWeb/README.md +++ b/VideoProcessBaseWeb/README.md @@ -48,4 +48,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo VideoProcessBaseWeb/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/VisibleComponent/README.md b/VisibleComponent/README.md index ed09dd1a2846e9cb0733158762a7be9e661a23fd..9df606c1fcbc2060660b170756031682af83dd1a 100644 --- a/VisibleComponent/README.md +++ b/VisibleComponent/README.md @@ -37,4 +37,15 @@ 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo VisibleComponent/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/WaterFlowSample/README.md b/WaterFlowSample/README.md index 2496e0a51da387fc485989e8cf37049c166735af..59c58ba16f2b512384728a7536d7d3c74cc423a9 100644 --- a/WaterFlowSample/README.md +++ b/WaterFlowSample/README.md @@ -52,10 +52,21 @@ ### 约束与限制 -1.本示例仅支持标准系统上运行,支持设备:华为手机。 +1. 本示例仅支持标准系统上运行,支持设备:华为手机。 -2.HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 +2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 -3.DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 +3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4.HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo WaterFlowSample/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/Weather/README.en.md b/Weather/README.en.md index a1044e96cff4830b2adf133539ea8949c7f6c24e..cb4387560b35eb99883686f18d8302b3fb3a1e78 100644 --- a/Weather/README.en.md +++ b/Weather/README.en.md @@ -48,4 +48,15 @@ N/A * The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. -* The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. \ No newline at end of file +* The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. + +### Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo code/SuperFeature/MultiDeviceAppDev/Weather/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/openharmony/applications_app_samples.git +git pull origin master +``` \ No newline at end of file diff --git a/WebApplicationJump/README.md b/WebApplicationJump/README.md index 6038564dab575908b6300f8e48a5edd2c0890fd0..c12c433ae7e3ebd114287e66de0f62e8656d5e88 100644 --- a/WebApplicationJump/README.md +++ b/WebApplicationJump/README.md @@ -50,4 +50,15 @@ 1. 本示例仅支持标准系统上运行,支持设备:华为手机。 2. HarmonyOS系统:HarmonyOS 5.0.5 Release及以上。 3. DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +## 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo WebApplicationJump/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/WebApplicationJump/README_EN.md b/WebApplicationJump/README_EN.md index 3a23c67503d264d717216bc09470de9de7aab60a..15c91791e72f2bff6546ebdfd5caf53cf764e510 100644 --- a/WebApplicationJump/README_EN.md +++ b/WebApplicationJump/README_EN.md @@ -51,3 +51,14 @@ To start an application on another device from the web page, you need to interce 2. The HarmonyOS version must be HarmonyOS 5.0.5 Release or later. 3. The DevEco Studio version must be DevEco Studio 5.0.5 Release or later. 4. The HarmonyOS SDK version must be HarmonyOS 5.0.5 Release SDK or later. + +## Download + +To download this project separately, execute the following command: +``` +git init +git config core.sparsecheckout true +echo WebApplicationJump/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` diff --git a/WebDevelopOptimizationRender/README.md b/WebDevelopOptimizationRender/README.md index 01c29ca6e6f702edd907eaffdfd71952ac04f104..0a333b402945cf12479ab20520a3408fd0ca003b 100644 --- a/WebDevelopOptimizationRender/README.md +++ b/WebDevelopOptimizationRender/README.md @@ -13,4 +13,15 @@ * DevEco Studio版本:DevEco Studio 5.0.5 Release及以上。 -* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 \ No newline at end of file +* HarmonyOS SDK版本:HarmonyOS 5.0.5 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo WebDevelopOptimizationRender/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file diff --git a/XiaoyiAgentDemo/README.md b/XiaoyiAgentDemo/README.md index 268e70dee0e893b323b5cbbc6b8fb800f0a08aaa..ee9539dcc17ed4c941aaa688bb61f6385635856e 100644 --- a/XiaoyiAgentDemo/README.md +++ b/XiaoyiAgentDemo/README.md @@ -62,4 +62,15 @@ 3. DevEco Studio版本:DevEco Studio 5.1.0 Release及以上。 -4. HarmonyOS SDK版本:HarmonyOS 5.1.0 Release SDK及以上。 \ No newline at end of file +4. HarmonyOS SDK版本:HarmonyOS 5.1.0 Release SDK及以上。 + +### 下载 + +如需单独下载本工程,执行如下命令: +``` +git init +git config core.sparsecheckout true +echo XiaoyiAgentDemo/ > .git/info/sparse-checkout +git remote add origin https://gitee.com/harmonyos_samples/BestPracticeSnippets.git +git pull origin master +``` \ No newline at end of file