Monitor network activity in Android Phones

前端 未结 11 1723
庸人自扰
庸人自扰 2020-11-28 02:47

I would like to monitor network traffic of my Android Phone. I was thinking using tcpdump for Android, but I\'m not sure if I have to cross-compile for the phone.

An

11条回答
  •  执念已碎
    2020-11-28 03:42

    The DDMS tool included in the Android SDK includes a tool for monitoring network traffic. It does not provide the kind of detail you get from tcpdump and similar low level tools, but it is still very useful.

    Oficial documentation: http://developer.android.com/tools/debugging/ddms.html#network

提交回复
热议问题