
清空记录
历史记录
取消
清空记录
历史记录

本文介绍在开源鸿蒙OpenHarmony系统下,修改DPI密度值的方法,触觉智能Purple Pi OH鸿蒙开发板演示,搭载了瑞芯微RK3566四核处理器,Laval鸿蒙社区推荐开发板,已适配全新开源鸿蒙OpenHarmony5.0 Release系统,适合鸿蒙开发入门学习。
源码中修改DPI
修改源码路径下的配置文件中
/vendor/industio/purple_pi_oh/window_config/display_manager_config.xml
默认为240,其范围是在80-640,根据自己需求修改完成后,重新编译验证结果。
system/etc/window/resources/display_manager_config.xml#重新挂载文件系统,将设备改为可读可写C:\Users\aston> hdc shell mount -o remount,rw /C:\Users\aston> hdc file recv “system/etc/window/resources/display_manager_config.xml” “本地路径”
#修改完成后将文件推动回去C:\Users\aston> hdc file send “本地路径” “主板系统路径”
#重启设备C:\Users\aston> hdc shell reboot
产品购买
