android listener

参考: android监听器(Listener)的使用 https://blog.csdn.net/i_am_tomato/article/details/42495161 Android中接口监听器(Listener)的使用,通过接口回调刷新Activity中的数据 https://bl...

android textview 靠右对齐

参考: android中 有textview在布局中居右展示以及文本靠右对齐 https://blog.csdn.net/emmmsuperdan/article/details/85047770 android TextView 控件居右显示 https://blog.csdn.net/...

android 几种定时器的实现

参考: Android 倒计时CountDownTimer https://www.jianshu.com/p/b91ac97930db android之几种定时器实现 https://blog.csdn.net/generallizhong/article/details/1006623...

android u盘 文件系统 libaums

参考: libaums https://github.com/magnusja/libaums Android-USB-OTG-读写U盘文件 https://www.jianshu.com/p/a32e376ea70e 文件流之文件输出流FileOutputStream https:/...

android 系统应用

修改 app 为系统应用 在 AndroidManifest.xml 中如下增加 android:sharedUserId="android.uid.system <manifest xmlns:android="http://schemas.android.com/apk/res/an...

ymodem

java 的 ymodem 可以使用 github 上面的 YModemForAndroid,链接是 https://github.com/LeonXtp/YModemForAndroid 问题: 直接使用 YModemForAndroid 有以下几个问题 在最后不足 1024 的数据时,...

android 10 app 获取 imei

app 中修改 需要在 xml 文件中增加 system 相关设置,编译的时候,会有红字提示不能安装,这个提示不用管。 aosp 中修改 找到as编译出的 app,\项目名\app\build\outputs\apk\debug\app_debug.apk 在AOSP源码 packages/...

MPAndroidChart 笔记

清除数据 lineChart.clear(); 用于清除所有数据。 参考: https://blog.csdn.net/qq_44720366/article/details/104816512 刷新 x 轴数据问题 参考: https://blog.csdn.net/qq_35071078/...

sqlite where 指定列满足多个条件中的一种

背景 需要在指定列中搜索所有包含 "x", "y", "z" 的数据,和不包含他们的数据 实现 不包含他们的数据: String find = "SELECT " + "*" + " FROM " + "analysisInfo"...

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:lintVitalRelease'

这个问题一般是 release 版本的时候才会出现,解决这个问题的办法其实报错的提示里面已经说了: android { lintOptions { checkReleaseBuilds false // Or, if you prefer, you ca...