2012-03-27 93 views
1

我需要监控Android的网络流量,但是我不知道如何做到这一点。 如何在Eclipse中监控Android中的网络流量?eclipse监控android的网络流量

+1

检查这个线程。 http://stackoverflow.com/questions/2453949/android-emulator-how-to-monitor-network-traffic – tier1 2012-03-27 14:20:25

+0

我已经看到了,但FIDDLER只能在Windows上运行。我需要一个针对linux的解决方案。 – ademar111190 2012-03-27 14:23:47

+3

如果您只想观看应用程序的网络使用情况(而不是整个设备或仿真器网络使用情况),则可以使用http://tools.android.com/recent/detailednetworkusageinddms随SDK工具r17 – 207 2012-03-27 14:28:24

回答

1

我最近听说PCAP Web性能分析器应该能够做到这一点。我还没有尝试过,但它听起来像可能会捕获您感兴趣的数据。它没有特定于Linux的说明,但它看起来像您可能能够在命令行上捕获流量并上传到PCAP网站进行分析。

PCAP上传网站:http://pcapperf.appspot.com/

PCAP为移动设备(从上面的网址链接):http://code.google.com/p/pcaphar/wiki/CaptureMobileTraffics

希望这有助于...