Avdhesh

Lurker
May 22, 2023
1
0
5
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