1

I am making a Project on TaskManager android just like windows Taskmanager. How to get CPU usage and memory Usage?

Maaz
  • 65
  • 1
  • 11

1 Answers1

0

You will need to use Linux commands like top or ps using:

Process process = Runtime.getRuntime().exec(...);

http://m2catalyst.com/tutorial-finding-cpu-usage-for-individual-android-apps

Get Memory Usage in Android

Community
  • 1
  • 1
Quark
  • 1,578
  • 2
  • 19
  • 34