我工作的一个应用程序,它现在需要在系统启动到运行的应用程序的信息。是否有一个API /方法来获取这方面的信息?
I am working on an app which needs the information of the apps running at the system up to now. Is there an API/method to retrieve that kind of information?
您可以获取有关使用的 ActivityManager 类。
You can get information about running processes using the ActivityManager class.