2013-02-09 231 views

回答

0

您必须查看服务从其onStartCommand方法返回的值。缺省值是START_STICKY,它将在服务被销毁后重新启动服务。看看onStartCommand documentation了解更多详情: