Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I would like to know if its possible to log network traffic on an android device and to see what app is causing each bit of traffic without rooting the phone.

share|improve this question

migrated from stackoverflow.com May 31 '11 at 15:18

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 1 down vote accepted

A surely working, but hard to achieve solution would be to set up an access-point where you log all the traffic and connect your phone to it.

share|improve this answer
1  
This is easy to achieve with a desktop that has a "host-mode" or "AP-mode" wireless device. For example, Mac OS X devices with AirPort can be put into access point mode, by enabling Internet Sharing. From there, you'd use something like WireShark to trace all the traffic coming from your Android device through the Mac. Windows and/or Linux hosts would work the same way, as long as your wifi adapter supports AP mode. –  Joe Jun 2 '11 at 3:39

At lest some devices seem to have a setuid root copy of tcpdump installed

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.