Search but could not find proper answer I want to monitor CPU usage if it drops to 10% I would like to show toast message.
Anyone have done or read somewhere please refer to me.
Thanks
Search but could not find proper answer I want to monitor CPU usage if it drops to 10% I would like to show toast message.
Anyone have done or read somewhere please refer to me.
Thanks
You can use Systrace to monitor whatever you want.
Using Eclipse:
Using Android Studio
Using Device Monitor
For more information take a look this website: http://developer.android.com/tools/help/systrace.html