Android: Check if service is running via. bindService

前端 未结 7 1458
心在旅途
心在旅途 2021-02-18 15:28

What would be the best way to check if an Android Service is running? I am aware of the ActivityManager API, but it seems like the use of the API is not advised for

7条回答
  •  南方客
    南方客 (楼主)
    2021-02-18 16:17

    See answer here:

    How to check if a service is running on Android?

提交回复
热议问题