You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
android-notes/README.md

215 lines
14 KiB

6 years ago
---
Android Notes
---
6 years ago
#### Android
6 years ago
##### 四大组件
6 years ago
6 years ago
[Activity](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Activity.md)
[Service](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Service.md)
[BroadcastReceiver](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/BroadcastReceiver.md)
[ContentProvider](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/ContextProvider.md)
6 years ago
[Fragment](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Fragment.md)
6 years ago
##### 控件相关
1. [WebView](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/WebView.md)
2. [RecyclerView](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/RecyclerView.md)
6 years ago
3. [ViewPager](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/ViewPager.md)
4. [ConstraintLayout](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/ConstraintLayout.md)
6 years ago
5. [自定义 View](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E8%87%AA%E5%AE%9A%E4%B9%89%20View.md)
6 years ago
6 years ago
##### 其他
6 years ago
1. Android 数据持久化
6 years ago
- [SharedPreferences](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/SharedPreferences.md)
- [SQLite](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/SQLite.md)
2. [自动化埋点](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E5%9F%8B%E7%82%B9/%E5%9F%8B%E7%82%B9.md)
3. [动画](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Animator.md)
4. [Context](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Context.md)
5. [Dalvik 与 ART](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Dalvik%20%5C%20ART.md)
6 years ago
6. [APT](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/APT.md)
7. [Bundle、ArrayMap、SparseArray](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Bundle.md)
8. [Hook 原来也就这么回事](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Hook.md)
9. [Serializable 与 Parceable](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Serializable%20%E4%B8%8E%20Parcelable.md)
6 years ago
10. [轻松入门 Socket 编程](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Socket%20%E7%BC%96%E7%A8%8B.md)
11. [热修复](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E7%83%AD%E4%BF%AE%E5%A4%8D.md)
6 years ago
12. [事件分发机制](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E4%BA%8B%E4%BB%B6%E5%88%86%E5%8F%91%E6%9C%BA%E5%88%B6.md)
13. [Handler 消息循环机制](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Handler%20%E6%B6%88%E6%81%AF%E6%9C%BA%E5%88%B6.md)
14. [AsyncTask 源码分析](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/AsyncTask.md)
15. [HandlerThread 源码分析](<https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/HandlerThread.md>)
16. [IntentService 源码分析](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/IntentService.md)
17. [View 工作原理](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/View%20%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86.md)
5 years ago
18. [AOP](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/AOP.md)
5 years ago
19. [自定义 Lint](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E8%87%AA%E5%AE%9A%E4%B9%89%20Lint.md)
6 years ago
##### Gralde Plugin、Groovy
6 years ago
[Gralde Plugin 入门指南](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/Gradle_Plugin_Guide.md)
6 years ago
[Gralde Plugin 实践之 TinyPng Plugin](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/TinyPngPlugin.md)
[Gradle 详解 Extension](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/Extension.md)
6 years ago
《Android Gradle 权威指南读书笔记》
- [基础知识相关](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/Android%20Gradle%20%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0%E4%B9%8B%E4%B8%80.md)
- [进阶知识相关](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/Android%20Gradle%20%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0%E4%B9%8B%E4%BA%8C.md)
[Gradle 练习之一 --- 输出项目第三方库以及本地依赖库的权限信息](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/%E4%BE%9D%E8%B5%96%E6%9D%83%E9%99%90%E4%BF%A1%E6%81%AF.md)
[Android Gradle Plugin 流程分析](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Gradle/Android%20Gradle%20Plugin%20%E6%B5%81%E7%A8%8B%E5%88%86%E6%9E%90.md)
##### JVM、ART 相关
- Class 文件格式
- [Class 文件格式总览](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%20Class%20%E6%96%87%E4%BB%B6%E6%A0%BC%E5%BC%8F/Class%20%E6%96%87%E4%BB%B6%E6%A0%BC%E5%BC%8F%E6%80%BB%E8%A7%88.md)
- [常量池及相关内容](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%20Class%20%E6%96%87%E4%BB%B6%E6%A0%BC%E5%BC%8F/%E5%B8%B8%E9%87%8F%E6%B1%A0%E5%8F%8A%E7%9B%B8%E5%85%B3%E5%86%85%E5%AE%B9.md)
- [属性介绍]
6 years ago
##### 性能优化
6 years ago
6 years ago
[I/O 优化]
6 years ago
6 years ago
[UI 优化]
6 years ago
[内存优化](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/%E5%86%85%E5%AD%98%E4%BC%98%E5%8C%96.md)
[包体积优化](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/%E5%8C%85%E4%BD%93%E7%A7%AF%E4%BC%98%E5%8C%96.md)
6 years ago
[卡顿优化]
6 years ago
6 years ago
[启动优化]
6 years ago
[存储优化](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96/%E5%AD%98%E5%82%A8%E4%BC%98%E5%8C%96.md)
6 years ago
[崩溃优化]
6 years ago
6 years ago
[电量优化]
6 years ago
#### 操作系统
6 years ago
[操作系统学习路径](https://github.com/Omooo/Android-Notes/blob/master/blogs/operate_system/%E5%AD%A6%E4%B9%A0%E8%B7%AF%E5%BE%84.md)
[Linux 综述](https://github.com/Omooo/Android-Notes/blob/master/blogs/operate_system/Linux%20%E7%BB%BC%E8%BF%B0.md)
#### Framework
6 years ago
[Android 系统架构](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/Android%20%E7%B3%BB%E7%BB%9F%E6%9E%B6%E6%9E%84.md)
6 years ago
[Android 系统启动](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/Android%20%E7%B3%BB%E7%BB%9F%E5%90%AF%E5%8A%A8.md)
6 years ago
[应用程序进程启动过程](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E8%BF%9B%E7%A8%8B%E5%90%AF%E5%8A%A8%E8%BF%87%E7%A8%8B.md)
[Android APK 构建流程](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/APK%20%E6%9E%84%E5%BB%BA%E6%B5%81%E7%A8%8B.md)
[Android 签名校验机制 v1、v2、v3](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/Android%20%E7%AD%BE%E5%90%8D%E6%A0%A1%E9%AA%8C%E6%9C%BA%E5%88%B6.md)
《深入理解 Android 卷一》
- [深入理解 JNI](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%20Android%20%E5%8D%B7%E4%B8%80/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%20JNI.md)
6 years ago
- [深入理解 init](https://github.com/Omooo/Android-Notes/blob/master/blogs/Android/Framework/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%20Android%20%E5%8D%B7%E4%B8%80/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%20init.md)
#### Java 基础
6 years ago
6 years ago
[final 你需要知道的一切](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/final.md)
6 years ago
6 years ago
[String 你需要知道的一切](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/String.md)
6 years ago
[反射 你需要知道的一切](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E5%8F%8D%E5%B0%84.md)
6 years ago
6 years ago
[泛型 你需要知道的一切](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E6%B3%9B%E5%9E%8B.md)
6 years ago
6 years ago
[注解 你需要知道的一切](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E6%B3%A8%E8%A7%A3.md)
6 years ago
6 years ago
[异常 你需要知道的一切](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E5%BC%82%E5%B8%B8.md)
[BIO、NIO、AIO](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/BIO%E3%80%81NIO%E3%80%81AIO.md)
6 years ago
[UncaughtExceptionHandler](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/UncaughtExceptionHandler.md)
6 years ago
[Java 5 - Java 10 新特性总结](https://github.com/Omooo/Android-Notes/tree/master/blogs/Java/Java%205%20-%20Java%2010%20%E6%96%B0%E7%89%B9%E6%80%A7)
#### Java 并发
[线程、线程池](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E5%B9%B6%E5%8F%91/%E7%BA%BF%E7%A8%8B%E3%80%81%E7%BA%BF%E7%A8%8B%E6%B1%A0.md)
[线程生命周期](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E5%B9%B6%E5%8F%91/Java%20%E7%BA%BF%E7%A8%8B%E7%94%9F%E5%91%BD%E5%91%A8%E6%9C%9F.md)
[并发编程的万能钥匙 - 管程 ( Monitor )](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E5%B9%B6%E5%8F%91/%E7%AE%A1%E7%A8%8B(Monitor).md)
6 years ago
[Lock 和 Condition](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/%E5%B9%B6%E5%8F%91/Lock%20%E5%92%8C%20Condition.md)
#### JVM
6 years ago
[一篇文章学完 JVM 重点知识](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/JVM.md)
- [Java 内存区域与 HotSpot 虚拟机](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/Java%20%E5%86%85%E5%AD%98%E5%8C%BA%E5%9F%9F%E4%B8%8E%20HotSpot%20%E8%99%9A%E6%8B%9F%E6%9C%BA.md)
- [Java 内存模型](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/Java%20%E5%86%85%E5%AD%98%E6%A8%A1%E5%9E%8B.md)
- [JVM 垃圾收集器与内存分配策略](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/JVM%20%E5%9E%83%E5%9C%BE%E6%94%B6%E9%9B%86%E5%99%A8%E4%B8%8E%E5%86%85%E5%AD%98%E5%88%86%E9%85%8D%E7%AD%96%E7%95%A5.md)
- [类加载机制与双亲委派模型](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/%E7%B1%BB%E5%8A%A0%E8%BD%BD%E6%9C%BA%E5%88%B6%E4%B8%8E%E5%8F%8C%E4%BA%B2%E5%A7%94%E6%B4%BE%E6%A8%A1%E5%9E%8B.md)
6 years ago
[JVM 优化 Java 代码时都做了什么?](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/Java%20%E4%BC%98%E5%8C%96%E7%AD%96%E7%95%A5.md)
- [方法内联](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/%E6%96%B9%E6%B3%95%E5%86%85%E8%81%94.md)
- [循环优化](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/%E5%BE%AA%E7%8E%AF%E4%BC%98%E5%8C%96.md)
6 years ago
[一篇文章搞懂 synchronized、CAS、AQS](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/锁.md)
6 years ago
[volatile](https://github.com/Omooo/Android-Notes/blob/master/blogs/Java/volatile.md)
[JVM 是如何执行方法调用的?](https://github.com/Omooo/Android-Notes/blob/master/blogs/JVM/JVM%20%E6%98%AF%E5%A6%82%E4%BD%95%E6%89%A7%E8%A1%8C%E6%96%B9%E6%B3%95%E8%B0%83%E7%94%A8%E7%9A%84%EF%BC%9F.md)
#### 设计模式
6 years ago
[单例模式](https://github.com/Omooo/Android-Notes/blob/master/blogs/DesignMode/%E5%8D%95%E4%BE%8B%E6%A8%A1%E5%BC%8F.md)
6 years ago
[工厂模式](https://github.com/Omooo/Android-Notes/blob/master/blogs/DesignMode/%E5%B7%A5%E5%8E%82%E6%A8%A1%E5%BC%8F.md)
[代理模式](https://github.com/Omooo/Android-Notes/blob/master/blogs/DesignMode/%E4%BB%A3%E7%90%86%E6%A8%A1%E5%BC%8F.md)
[观察者模式](https://github.com/Omooo/Android-Notes/blob/master/blogs/DesignMode/%E8%A7%82%E5%AF%9F%E8%80%85%E6%A8%A1%E5%BC%8F.md)
[Builder 建造者模式](https://github.com/Omooo/Android-Notes/blob/master/blogs/DesignMode/Builder%20%E5%BB%BA%E9%80%A0%E8%80%85%E6%A8%A1%E5%BC%8F.md)
#### 数据结构和算法
[异或,原来这么有用](https://github.com/Omooo/Android-Notes/blob/master/blogs/Algorithm/%E5%BC%82%E6%88%96%E5%BA%94%E7%94%A8.md)
6 years ago
[一篇文章搞定 HashMap](https://github.com/Omooo/Android-Notes/blob/master/blogs/Algorithm/HashMap.md)
6 years ago
[八大排序]()
#### 计算机网络
[Http 和 Https](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Http%20%E4%B8%8E%20Https.md)
6 years ago
[HTTP 的前世今生](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/HTTP%20%E7%9A%84%E5%89%8D%E4%B8%96%E4%BB%8A%E7%94%9F.md)
6 years ago
[TCP 与 UDP](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/TCP%20%E4%B8%8E%20UDP.md)
6 years ago
《Web 性能权威指南》
6 years ago
* [TCP 的构成](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/TCP%20%E7%9A%84%E6%9E%84%E6%88%90.md)
* [UDP 的构成](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/UDP%20%E7%9A%84%E6%9E%84%E6%88%90.md)
* [传输层安全(TLS)](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/%E4%BC%A0%E8%BE%93%E5%B1%82%E5%AE%89%E5%85%A8%EF%BC%88TLS%EF%BC%89.md)
6 years ago
* [HTTP/1.1](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/HTTP%201.1.md)
* [HTTP/2.0](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/HTTP%202.0.md)
* [Web 性能优化最佳实践](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/Web%20%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.md)
* [针对浏览器的优化建议](https://github.com/Omooo/Android-Notes/blob/master/blogs/computer_network/Web%20%E6%80%A7%E8%83%BD%E6%9D%83%E5%A8%81%E6%8C%87%E5%8D%97/%E9%92%88%E5%AF%B9%E6%B5%8F%E8%A7%88%E5%99%A8%E7%9A%84%E4%BC%98%E5%8C%96%E5%BB%BA%E8%AE%AE.md)
6 years ago
#### 笔试
6 years ago
[央视电影网 --- Mr.S 大佬](https://github.com/Omooo/Android-Notes/tree/master/blogs/Android/%E7%AC%94%E8%AF%95%E9%A2%98/%E5%A4%AE%E8%A7%86%E7%94%B5%E5%BD%B1%E7%BD%91%20---%20Mr.S%20%E5%A4%A7%E4%BD%AC.md)
#### 常见面试题精讲
[面试题集](https://github.com/Omooo/Android-Notes/blob/master/blogs/Interview/%E9%9D%A2%E8%AF%95%E9%A2%98%E9%9B%86.md)
- [Get 和 Post 请求的区别?](https://github.com/Omooo/Android-Notes/blob/master/blogs/Interview/Get%20%E5%92%8C%20Post%20%E7%9A%84%E5%8C%BA%E5%88%AB.md)