0
我正在运行一个运行SensorListener的IntentService。似乎不可能停止应用内其他活动的服务。如何在运行SensorListener时停止IntentService
是否有任何阻止服务外的IntentService?
此外,由于Listener是唯一正在运行(使应用程序停止运行),是否可以从其他活动注销Listener?
谢谢!
我正在运行一个运行SensorListener的IntentService。似乎不可能停止应用内其他活动的服务。如何在运行SensorListener时停止IntentService
是否有任何阻止服务外的IntentService?
此外,由于Listener是唯一正在运行(使应用程序停止运行),是否可以从其他活动注销Listener?
谢谢!
现在没事了。 Commonsware告诉我这里
BroadcastReceiver within a Service not receiving broadcasts Android
,我被泄露的接收器,不被停止的服务的,因此外观.. IntentService无法实现接收机