I am trying to understand how does an app like DataMan work. Even if it runs on the background, how can it measure the bandwidth allocation of the other apps?
Most apps like that inject a proxy to all your data calls. Through that they measure the amount of bandwidth you are consuming.
There is no way to measure data you are using outside of your app. You can track it for your own network call within your app though.
精彩评论