0
有没有什么办法可以找出一个IntentService的队列实例的数量?其次,我可以暂停一个IntentService的特定实例吗?Android IntentService如何知道运行队列中的实例数量?
亲切的问候。
有没有什么办法可以找出一个IntentService的队列实例的数量?其次,我可以暂停一个IntentService的特定实例吗?Android IntentService如何知道运行队列中的实例数量?
亲切的问候。
您可以添加在每个实例化一个静态变量指针累加安德递减/销毁
重复:http://stackoverflow.com/questions/5357013/asking-an-intentservice-for-information-about-its-queue –