Code example for ActivityManager

Methods: getRunningAppProcessesgetRunningServices