The following links should help you figure out how to programmatically determine the data usage per application.
You will need to implement your code to use the TraficStats API and track the number of bytes sent/received per UID (application).
The following links should help you figure out how to programmatically determine the data usage per application.
You will need to implement your code to use the TraficStats API and track the number of bytes sent/received per UID (application).