Is there any possible way to calculate the usage of mobile and Wi-Fi of each application in android using the TrafficStats methods: (getUidRxBytes, getUidTxBytes, getTotalRxbytes, getTotalTXbytes, getMobileRxBytes, getMobileTxBytes)? I know there must be some way to do this, since the 3G watchdog and another application provide this data.
Can anyone help? Thanks
source
share