TrafficStats give us the information about which application consumes how bandwith, well.
I would like to write an application which disables/enables some other application's internet usage whenever needed.
I see there are some google play applications which are doing that but how?
Dont forget to add this line to your manifest file