• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

To Find Out The Running Process of Android Devices

Avdhesh

Lurker
May 22, 2023
1
0
Hi Guys,

Could you please guide me to find out the running process of the Android devices.. I have used the given below method to find the running process, but it will return only the current running process..

Process process = Runtime.getRuntime().exec(new String[]{"sh", "-c", "ps"});
OR
List<ActivityManager.RunningAppProcessInfo> runningAppProcessInfos = getManager(context).getRunningAppProcesses();

Hope this forum will guide me for the right direction.

Regards,
Avdhesh
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones