Question

Is there a native android Api to monitor network traffic and may be restrict it ? I came across TrafficStats but i dont think it provides a method to dump the packets and analyze it later or in real time. If there is no native support, then what are other possibilities to implement something like this ?

Était-ce utile?

La solution

I have not used it myself, but have heard of others using a variant of tcpdump called tcpdump-arm for capturing and analyzing Android device traffic.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top