随写...

导航

 

2012年10月24日

摘要: 原文地址:android之Service(1)startService作者:sean运行service的方法有两种startService和bindService,区别startService的调用者和serice没有联系,及调用者结束后,service依然继续运行,而bindService组件结束后,service也结束。该文主要讲的是使用startService启动服务。在startService调用方法中,service的生命周期:onCreate()->onStratCommand()->onStart()->服务->onDestroy()说明:系统中不存在服务 阅读全文
posted @ 2012-10-24 15:50 mimi51 阅读(270) 评论(0) 推荐(0) 编辑