Question

I can track the overall bandwidth usage of Android device. I wanted to know if there is any method or way, maybe an API or class, that can help me track my bandwidth usage per application or process?

Reason for this question? I want to stop all those processes or applications that are using way too much bandwidth usage and draining the battery.

Was it helpful?

Solution

You can use the methods in android.net.TrafficStats, particularly getUidRxBytes and getUidTxBytes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top