How to Find the Data Usage on a Per-Application Basis on Android

How can I find the data usage on a per-application basis on Android?

The following links should help you figure out how to programmatically determine the data usage per application.

  • Create a network monitor using Android's TrafficStats class

  • Android Traffic Statistics Inside

You will need to implement your code to use the TraficStats API and track the number of bytes sent/received per UID (application).

How can i find the Data Usage on Per Application Basis?

You can use TrafficStats to determine bandwidth usage per-UID, which roughly corresponds to per-app.



Related Topics



Leave a reply



Submit