乾申大那多

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年3月6日

摘要: 安卓性能优化之启动优化 真香定律 2-5-8原则 在性能优化中存在启动时间2-5-8原则: 当用户在0-2秒之间得到响应时,会感觉系统的响应很快 当用户在2-5秒之间得到响应时,会感觉系统的响应速度还可以 当用户在5-8秒之间得到响应时,会感觉系统的响应速度很慢,但是还可以接受 而当用户在超过8秒后 阅读全文
posted @ 2022-03-06 20:47 天使骑驴飞 阅读(482) 评论(0) 推荐(0)

2021年8月19日

摘要: apply plugin: 'com.android.application' android { compileSdkVersion 30 buildToolsVersion "30.0.3" defaultConfig { applicationId "xxxx" minSdkVersion 1 阅读全文
posted @ 2021-08-19 11:42 天使骑驴飞 阅读(1079) 评论(0) 推荐(0)

2021年7月29日

摘要: 并发编程 阅读全文
posted @ 2021-07-29 21:57 天使骑驴飞 阅读(131) 评论(0) 推荐(0)

2021年7月11日

摘要: Android 阅读全文
posted @ 2021-07-11 13:22 天使骑驴飞 阅读(1074) 评论(0) 推荐(0)

2021年7月10日

摘要: 1. keystore.properties配置 将签名文件放置key目录或者其他目录,配置如下 代码片段 storeFile=../key/xxx.keystore storePassword=xxx keyAlias=xxx keyPassword=xxx 2. 项目build.gradle配置 阅读全文
posted @ 2021-07-10 19:42 天使骑驴飞 阅读(211) 评论(0) 推荐(0)

摘要: 使用SystemProperties的几种方式 阅读全文
posted @ 2021-07-10 12:58 天使骑驴飞 阅读(1826) 评论(0) 推荐(0)

2021年7月3日

摘要: javap -s xxx.class 例如查看Bitmapde的getPixels方法 public void getPixels(int[], int, int, int, int, int, int); descriptor: ([IIIIIII)V 阅读全文
posted @ 2021-07-03 10:21 天使骑驴飞 阅读(129) 评论(0) 推荐(0)

2021年6月28日

摘要: 安卓应用全屏显示的几种方案 阅读全文
posted @ 2021-06-28 18:20 天使骑驴飞 阅读(1001) 评论(0) 推荐(0)

摘要: 获取wifimac的几种方式 阅读全文
posted @ 2021-06-28 14:27 天使骑驴飞 阅读(453) 评论(0) 推荐(0)

2021年3月17日

摘要: 本文基于Android6.0源码进行分析 源码分析 先从TelephonyManager入手,如果想要监听手机的状态信息,需要调用TelephonyManager的以下接口 private static ITelephonyRegistry sRegistry; public void listen 阅读全文
posted @ 2021-03-17 13:56 天使骑驴飞 阅读(595) 评论(0) 推荐(0)