上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页
摘要: 一.调用系统打印预览demo PrintManager 1.1.系统预览打印界面 .a.AndroidManifest.xml <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-perm 阅读全文
posted @ 2021-11-17 15:08 CrushGirl 阅读(1575) 评论(0) 推荐(0) 编辑
摘要: 一.Setting 里面 亮度条弹窗 1.1.packages/apps/Settings/res/xml/display_settings.xml <PreferenceScreen android:key="brightness" android:title="@string/brightnes 阅读全文
posted @ 2021-10-28 10:08 CrushGirl 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 一.检测外接USB设备、读取GPIO节点 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import a 阅读全文
posted @ 2021-10-27 13:40 CrushGirl 阅读(1321) 评论(0) 推荐(0) 编辑
摘要: 一.Standby 当使用MediaPlayer停止本地播放后,如果切换我们自定义的音频通道(线路输入,只有模拟通道,数字通道没有工作),开始正常但隔几秒钟后就会没声音输出 Android系统默认播放停止后3秒(默认)会进入Standby模式来降低功耗 1.1.frameworks\av\servi 阅读全文
posted @ 2021-10-13 14:49 CrushGirl 阅读(806) 评论(0) 推荐(0) 编辑
摘要: Android UI Android Button 三种监听方式 Android Toast(吐司)的基本使用 Android PreferenceScreen Android DatePickerDialog Android Fragment(一):基本使用 Androidx RecyclerVi 阅读全文
posted @ 2021-10-12 10:48 CrushGirl 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1.1.module的build.gradle文件 apply plugin: 'com.android.application'//声明主module,com.android.application android {//android工程配置 compileSdkVersion 25 //编译s 阅读全文
posted @ 2021-10-11 17:37 CrushGirl 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 一.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 阅读全文
posted @ 2021-10-08 17:06 CrushGirl 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 一.编译 user版本 且带Google 服务 报的问题 Maybe this is library field 'android.app.Notification$Action { android.app.PendingIntent actionIntent; }' dex2oatd I 1961 阅读全文
posted @ 2021-09-22 11:49 CrushGirl 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 借鉴 Android系统打印方案分析 Android默认实现了打印的框架,使用PrintManager+PrintManagerService 但是有些系统裁剪了打印服务 一.packages\apps\Settings\src\com\android\settings\SettingsActivi 阅读全文
posted @ 2021-09-13 14:56 CrushGirl 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: Linux 常用基础命令 一.文件属性 rwx权限表示 r read 读取 4 w write 写 2 x execute 执行 1 - 无权限 0 - 444 r--r--r-- 600 rw 644 rw-r--r-- 666 rw-rw-rw- 700 rwx 744 rwxr--r-- 75 阅读全文
posted @ 2021-09-10 16:47 CrushGirl 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 17 下一页