10 2021 档案
摘要:一.Setting 里面 亮度条弹窗 1.1.packages/apps/Settings/res/xml/display_settings.xml <PreferenceScreen android:key="brightness" android:title="@string/brightnes
阅读全文
摘要:一.检测外接USB设备、读取GPIO节点 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import a
阅读全文
摘要:一.Standby 当使用MediaPlayer停止本地播放后,如果切换我们自定义的音频通道(线路输入,只有模拟通道,数字通道没有工作),开始正常但隔几秒钟后就会没声音输出 Android系统默认播放停止后3秒(默认)会进入Standby模式来降低功耗 1.1.frameworks\av\servi
阅读全文
摘要:Android UI Android Button 三种监听方式 Android Toast(吐司)的基本使用 Android PreferenceScreen Android DatePickerDialog Android Fragment(一):基本使用 Androidx RecyclerVi
阅读全文
摘要:1.1.module的build.gradle文件 apply plugin: 'com.android.application'//声明主module,com.android.application android {//android工程配置 compileSdkVersion 25 //编译s
阅读全文
摘要:一.LC_ALL=C 1.1.编译报的日志 flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_typ
阅读全文