11/29/2011 12:04 PM, biAji пишет:
I believe there has been a method to get traffic per pid. You can dig them out from TrafficStatics.java.
TrafficStatics.java?
May be You about android.net.TrafficStats ?

http://developer.android.com/reference/android/net/TrafficStats.html

Class that provides network traffic statistics. These statistics include bytes transmitted and received and network packets transmitted and received, over all interfaces, over the mobile interface, and on a per-UID basis.

These statistics may not be available on all platforms. If the statistics are not supported by this device, |UNSUPPORTED <http://developer.android.com/reference/android/net/TrafficStats.html#UNSUPPORTED>| will be returned.

Not a good choice, also it's impossible to get http traffic.


--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to