Android Service的启动过程

在讲service启动之前先讲两个概念: 1、context、contextWrapper、contextImpl的关系 ContextWrapper、ContextImpl都是继承自Context,像我们调用startService()就是调用ContextWrapper里面mBase.startService()  mBase是ContextWrapper的实例,所以startService(
相关文章
相关标签/搜索