[转] android崩溃日志保存在本地

转自: https://blog.csdn.net/cf8833/article/details/92662279 遇到的坑: 这个东西只能保存崩溃的错误日志,有点局限性 文件权限申请,文件权限申请,文件权限申请,重要的事情讲三遍, 这个生成之后的文件,一定要用手机去看,千万不要用电脑,别问...

android studio 打包 apk,自动修改文件名称

增加时间戳 在 app/build.gradle 的 android 闭包之外增加: def generateTime() { return new Date().format("yyyy_MM_dd_HH_mm_ss") } 增加文件名 在 app/build.gradle 的 an...

sqlite 删除前 n 条数据

sqlite 数据库设计超过容量就删除最前面的 n 行数据,用到的 sql 语句如下: public void deleteTableHead(SQLiteDatabase db, String table, String...

android 实时时间

android 需要显示实时时间,可以使用 google 提供好的 TextClock xml <TextClock android:layout_width="wrap_content" android:layout_height="wrap_conte...

[转] SOC分包方法

转自: https://shimo.im/docs/3RTDdGjQdTtjtPKj/read 本文是广和通的分包方法。 文档说明 本文档以SC826(MSM8953平台,Android 7)为例,描述如何对SOC镜像文件分包。 应用背景 客户用QFIL刷固件的时候,由于客户自己编译生成的...

[转] Android分区表详细解析哪里有

转自: http://cache.baiducontent.com/c?m=n2F9tWNTq3bABpgqBR7Rrnq7eJEBV0b-CYkrdH_ovC7GbC2ir5dWTxjAm4AY0et-bhlTXLonho7jd4FkJf_vKSDR5O3CN4gb4ortWKt2smBJD...

android 多线程

参考 理解 Activity.runOnUiThread https://www.jianshu.com/p/e39449026f21 Thread interrupt() 线程中断的详细说明 https://www.cnblogs.com/zh94/p/14097922.html Thr...

android 画线库

比较好用的画线库就是 MPAndroidChart 具体的资料可以参考: MPAndroidChart使用详解 https://blog.csdn.net/dapangzao/article/details/74949541 MPAndroidChart 之LineChart(1) http...

sg 滤波器

sg 滤波器: Savitsky Golay filter 库 github 上面可用的库有两个: savitzky-golay-filter: https://github.com/ruozhuochen/savitzky-golay-filter https://github.com/...

[转] 在Linux驱动中使用gpio子系统

转自: https://www.jianshu.com/p/f160209bd64b 内核相关文档 Documentation\devicetree\bindings\pinctrl\pinctrl-bindings.txt Documentation\gpio\gpio.txt Docu...