使用系统接口,路径迁移

Signed-off-by: ywx1281445 <yuandongping@huawei.com>
This commit is contained in:
ywx1281445 2024-07-16 16:21:23 +08:00
parent c86f3f3a4e
commit a9daa4eac5
84 changed files with 31 additions and 4 deletions

27
OAT.xml
View File

@ -858,6 +858,33 @@ Note:If the text contains special characters, please escape them according to th
<filteritem type="filepath" name="code/LaunguageBaseClassLibrary/ZipLib/entry/src/main/resources/base/media/zip.png" desc="Provided by code/LaunguageBaseClassLibrary/ZipLib"/>
<filteritem type="filepath" name="code/LaunguageBaseClassLibrary/ZipLib/entry/src/main/resources/base/media/icon.png" desc="Provided by code/LaunguageBaseClassLibrary/ZipLib"/>
<filteritem type="filepath" name="code/LaunguageBaseClassLibrary/ZipLib/entry/src/main/resources/base/media/icon_delete.png" desc="Provided by code/LaunguageBaseClassLibrary/ZipLib"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/start.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/ic_pause.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/screenshots/device/record.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/rectangle.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/slider_time.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/delete.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/ic_about.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/play.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/screenshots/device/check.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/ic_play.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/bg_play.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/uncheck.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/delete_fill.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/finish.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/screenshots/device/slider.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/AppScope/resources/base/media/app_icon.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/icon.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/pause.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/bg_record.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/ic_rename.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/screenshots/device/main.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/close.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/back.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/screenshots/device/play.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/ohosTest/resources/base/media/icon.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
<filteritem type="filepath" name="code/SystemFeature/Media/Recorder/entry/src/main/resources/base/media/check.png" desc="Provided by code/SystemFeature/Media/Recorder"/>
</filefilter>
<filefilter name="defaultPolicyFilter" desc="License文件头校验策略的过滤条件" >
<filteritem type="filename" name="oh-package.json5" desc="OpenHarmony工程编译入口脚本无需添加License头"/>

View File

@ -92,7 +92,7 @@
<td x:str><a href="code/BasicFeature/Media/ImageShow">图片显示</a></td>
</tr>
<tr height="18" style='height:13.50pt;'>
<td x:str><a href="code/BasicFeature/Media/Recorder">录音机</a></td>
<td x:str><a href="code/BasicFeature/Media/ImageEffect">图片编辑</a></td>
<td x:str><a href="code/BasicFeature/Media/QRCodeScan">二维码扫描</a></td>
<td x:str><a href="code/BasicFeature/Media/VideoPlay">视频播放API 12</a></td>
<td x:str><a href="code/BasicFeature/Media/AVSession/MediaProvider">媒体会话——提供方API 10</a></td>
@ -106,7 +106,7 @@
<tr height="18" style='height:13.50pt;'>
<td x:str><a href="code/BasicFeature/Media/Camera">相机示例</a></td>
<td x:str><a href="code/BasicFeature/Media/Camera_js">相机示例JS</a></td>
<td x:str><a href="code/BasicFeature/Media/ImageEffect">图片编辑</a></td>
<td ></td>
<td ></td>
</tr>
<tr height="18" style='height:13.50pt;'>
@ -278,7 +278,7 @@
<tr height="18" style='height:13.50pt;'>
<td x:str><a href="code/SystemFeature/Media/AVSession/MediaController">媒体会话——控制方API 10</a></td>
<td x:str><a href="code/SystemFeature/Media/VoiceCallDemo">音频通话示例API 10</a></td>
<td ></td>
<td x:str><a href="code/SystemFeature/Media/Recorder">录音机</a></td>
<td ></td>
</tr>
<tr height="18" style='height:13.50pt;'>

View File

@ -111,7 +111,7 @@ entry/src/main/ets/
```
git init
git config core.sparsecheckout true
echo code/BasicFeature/Media/Recorder/ > .git/info/sparse-checkout
echo code/SystemFeature/Media/Recorder/ > .git/info/sparse-checkout
git remote add origin https://gitee.com/openharmony/applications_app_samples.git
git pull origin master

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB