How can I get all the applications that are currently running on android? -


i want running app on android device. maybe, need use packagemanager? have tried used packagemanager, did not succeed, maybe, have better decision?

using below code can running application list

activitymanager = (activitymanager) getsystemservice(context.activity_service); list<activitymanager.runningappprocessinfo> runningappprocessinfo = am.getrunningappprocesses(); 

Comments

Popular posts from this blog

python - Best design pattern for collection of objects -

go - serving up pdfs using golang -

python - django admin: changing the way a field (w/ relationship to another model) is submitted on a form so that it can be submitted multiple times -