How to capture network packet in Android without using any root permissions

Kadir GÜZEL picture Kadir GÜZEL · Aug 9, 2012 · Viewed 12.5k times · Source

I want to capture network data packets on android app. Do you have any suggestions or source code to help me understand if this is possible?

Answer

Error 454 picture Error 454 · Aug 9, 2012

Without root you will have to use a pass-thru method.

  1. Setup your PC/Mac to share your wired connection through the wireless adapter
  2. Connect to the wireless adapter with your Android device
  3. Run wireshark