【Android-ErrorCollection】ACameraManager_openCamera

摘要: Android 7.0 NDK ACameraManager_openCamera E/ACameraManager: getCameraCharacteristics: Camera ID 0 does not exist! E/ACameraManager: openCamera: cannot 阅读全文
posted @ 2022-05-23 15:13 严中辉 阅读(272) 评论(0) 推荐(0) 编辑

【Developer】Collection

摘要: 汉字转换拼音 http://pinyin4j.sourceforge.net/ 阅读全文
posted @ 2022-02-15 09:27 严中辉 阅读(13) 评论(0) 推荐(0) 编辑

【References】Android-GPIO

摘要: GPIO 使用 — Firefly Wiki Android系统使用文件IO操作GPIO Android GPIO 控制方案 GPIO API | ConnectCore 6 Android Application Dev Example GPIO control LED light 阅读全文
posted @ 2022-01-14 14:58 严中辉 阅读(39) 评论(0) 推荐(0) 编辑

【Android】颜色透明度

摘要: 透明度 十六进制值 透明度 十六进制值 透明度 十六进制值 透明度 十六进制值 透明度 十六进制值 100% FF 75% BF 50% 80 25% 40 0% 00 99% FC 74% BD 49% 7D 24% 3D 98% FA 73% BA 48% 7A 23% 3B 97% F7 72 阅读全文
posted @ 2021-12-23 13:50 严中辉 阅读(101) 评论(0) 推荐(0) 编辑

mosquitto

摘要: $ sudo yum -y install epel-release $ sudo yum -y install mosquitto $ sudo systemctl start mosquitto $ sudo systemctl enable mosquitto # Config file fo 阅读全文
posted @ 2021-12-15 10:26 严中辉 阅读(98) 评论(0) 推荐(0) 编辑

Linux JDK环境变量配置

摘要: $ sudo vi /etc/profile # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), 阅读全文
posted @ 2021-11-25 08:39 严中辉 阅读(31) 评论(0) 推荐(0) 编辑

【Python】pip install pysmbc -U失败的问题

摘要: 升级pysmbc,失败了 $ pip install pysmbc -U Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.tu 阅读全文
posted @ 2021-11-10 18:04 严中辉 阅读(647) 评论(0) 推荐(1) 编辑

【Python】pip install pycups -U失败的问题

摘要: 升级pycups,失败了 $ pip install pycups -U Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.tu 阅读全文
posted @ 2021-11-10 17:57 严中辉 阅读(1933) 评论(0) 推荐(0) 编辑

【Python】pip install pycairo -U失败的问题

摘要: 升级pycairo,失败了 $ pip install pycairo -U Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi. 阅读全文
posted @ 2021-11-10 17:29 严中辉 阅读(3964) 评论(0) 推荐(0) 编辑

【Android】APK文件大小优化

摘要: 添加多密度矢量图形(SVG) 压缩代码和资源(移除未使用的备用资源、压缩代码、压缩资源) android { ... defaultConfig { ... // 指定语言资源 resConfigs "zh-rCN", "en" } ... buildTypes { release { // 压缩资 阅读全文
posted @ 2021-09-01 17:03 严中辉 阅读(152) 评论(0) 推荐(0) 编辑