摘要: startService:正常调用:onCreate->onStart取消绑定:onDestroy如果调用者自己直接退出而没有调用stopService,则Service会一直在后台运行,直到下次调用者再启动起来,并明确调用stopServicebindService正常调用:onCreate->onBind取消绑定:onUnbind->onDestroy先startService,再bindServiceonCreate->onStart->onBind(onCreate只调用一次)先stopService 再unbindService点stopService不 阅读全文
posted @ 2013-05-09 16:07 Qiengo 阅读(731) 评论(0) 推荐(0) 编辑