# test_hap **Repository Path**: shiyueeee/test_hap ## Basic Information - **Project Name**: test_hap - **Description**: open harmony test hap demo - **Primary Language**: TypeScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-08-16 - **Last Updated**: 2024-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # test_hap ## 介绍 open harmony test hap demo ## 使用说明 ### 工程目录说明 - color_space_manager_test \ API9单页面工程,快速检验5个接口调用 - window-gamut \ [窗口/屏幕广色域demo原仓](https://gitee.com/fanby01/ohos/tree/master/WindowGamutTest) 1) 新建API9单页面工程 2) 更新screen接口(screen.getAllScreens()) - signed_hap 带签名hap 1. signed_hap可直接安装测试OpenHarmony开源接口 2. 应用工程使用devEco IDE,需自行安装(包括node.JS) 3. 工程修改编译需API9,若devEco版本未更新,可手动更新本地sdk(*),并使用压缩包工具签名 ### 手动更新SDK方式: - 下载OH每日构建ohos_sdk - 解压拷贝./ohos-sdk/windows/ets-windows-3.2.6.3-Beta2.zip(有5.0.1.0版本更佳) - 将./ets/component、./ets/build-tools、./ets/api都覆盖到ide对应sdk路径里对应文件夹 e.g. C:\Users\YOUR_NAME\AppData\Local\OpenHarmony\Sdk\ets\5.0.1.0\ - cmd进入./ets/build-tools/ets-loader,执行npm install