Service
被设计为不和用户直接交互,在后台执行长期操作的一种系统组件,也可被其它应用使用。每一个服务必须在AndroidManifest中声明。服务可以通过Context.startService() and Context.bindService().启动。Note:service运行在主...
文章青楼艾小生
2017-05-01
458浏览量
【Android】Android Service的生命周期
Managing the Lifecycle of a Service
原文来自: http://www.cnblogs.com/mengdd/archive/2013/03/24/2979944.html
service的生命周期,从它被创建开始,到它被销毁为止,可以有两条不同的路径...