I see Android provide this class TrafficStats from API 8. Why don't you use it instead of reading the file "/proc/net/xt_qtaguid/stats" yourself?
Are there any differences between them?
Good point. This library was written awhile ago when we had a different set of requirements but now I think it might be better to just use TrafficStats. I'll submit a diff adding that support in the near future.
I see Android provide this class TrafficStats from API 8. Why don't you use it instead of reading the file "/proc/net/xt_qtaguid/stats" yourself? Are there any differences between them?