android-trafficstats Questions

3

Solved

With StrictMode enabled I just started getting this exception: java.lang.Throwable: Untagged socket detected; use TrafficStats.setThreadSocketTag() to track all network usage
Ballance asked 9/12, 2017 at 0:18

1

I'm comparing the new NetworkStats class with TrafficStats for measuring traffic for the network interfaces and a given application (pex Chrome) Since TrafficStats has values since device boot the...
Frump asked 12/12, 2016 at 16:39

2

I am trying to get network traffic stats of all apps. I just print total network traffic of every application in my device. The code is working fine in android 4.4 and 5.1 devices but in android 6....
Drabeck asked 31/12, 2016 at 7:55

2

I have searched a lot about this. Found the same code everywhere which solves the purpose partially. As API documentation says, it reset the counter once the device restarts. Sometimes the counter ...
Mcnutt asked 14/10, 2016 at 9:37
1

© 2022 - 2024 — McMap. All rights reserved.