Running process start time

前端 未结 4 2148
失恋的感觉
失恋的感觉 2021-01-14 02:55

I am using below code to get all currently running process\'s on device. How can I get running process start time?

    activityMan = (ActivityManager)getSyst         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-14 03:51

    As far as I know you can only receive this information from a service. Take a look at the documentation of ActivityManager.RunningServiceInfo or activeSince attribute

提交回复
热议问题