08 2016 档案

摘要:Android源码分析——广播 广播是一种在组件之间进行消息传递的方式。广播机制的实现是基于Binder进程间通信。 Binder进程间通信和广播的差别:Binder中,Client组件和Service组件通信之前必须先获得Service的一个代理对象,Client组件事先要知道Service组件的 阅读全文
posted @ 2016-08-15 16:37 ithaibo 阅读(416) 评论(0) 推荐(0)
摘要:根Activity启动过程 Launcher启动MainActivity的过程主要分为6个步骤: 一、Launcher向ActivityManagerService发送一个启动MainActivity的进程间通信请求; 二、ActivityManagerService首先将MainActivity的 阅读全文
posted @ 2016-08-07 22:22 ithaibo 阅读(342) 评论(0) 推荐(0)
摘要:AsyncTask<Params, Progress, Result>中三个参数为: Params 输入数据 Progress 过程数据 Result 结果数据 工作队列 LinkedlockingQueue 的特性 线程从空的LinkedlockingQueue中取任务执行,线程会被阻塞; 线程向 阅读全文
posted @ 2016-08-03 19:01 ithaibo 阅读(182) 评论(0) 推荐(0)

请留下你的高见