Application of flow monitoring questions about android4.3.

Do a traffic monitoring software, running under android4.1 is normal.
But when I put the mobile phone mobile phone to android4.3, found TrafficStats.getUidRxBytes(uid)
Always return 0. Then I went to view the system storage application flow file proc/uid_stat/uid /tcp_rcv ,
Usage would not write in. But I see flow statistics other files or normal statistics,
For example, 360 safe bodyguard or wall flow meter. Is there any other methods to obtain the application traffic, or
Android4.3 in a new API or method to fit? ? ? ? ?

Started by Arno at December 09, 2016 - 3:40 AM

Who know?

Posted by Arno at December 10, 2016 - 4:20 AM

The 4.3TrafficStats.getUidRxBytes can't be used,
But below 4.3 can be directly read proc/uid_stat/uid /tcp_rcv
I tried to.

Posted by Abel at December 18, 2016 - 4:33 AM