• 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
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
 
Back
Top Bottom