Are there any http proxies like fiddler or wireshark on android?

24,362

Solution 1

I normally use a laptop with Wireshark instead of trying to capture on the device:

Working link from web archive
http://droidhacks.com/2009/06/monitoring-network-traffic-using-os-x/ (dead link)

Setup the laptop to serve as the access point for the device and you can capture everything going on, and the wireshark display for the data is pretty rich.

Solution 2

If your Android device supports a proxy (apparently there are apps for that), you can just use Fiddler. See http://blogs.msdn.com/b/fiddler/archive/2011/01/09/debugging-windows-phone-7-device-traffic-with-fiddler.aspx for equivalent instructions for Windows Phone 7.

Solution 3

You can find how to configure Android emulator and Fiddler to watch http requests and responses here: http://vkosinets.com/blog/2011/08/16/debug-http-requests-from-android-emulator

Share:
24,362

Related videos on Youtube

rizidoro
Author by

rizidoro

Updated on May 27, 2020

Comments

  • rizidoro
    rizidoro almost 4 years

    I need to see what page an Android App is calling from my device. Are there any Apps like Fiddler or Wireshark to see what´s happening behind?

    • Cliff Burton
      Cliff Burton over 7 years
      This question is off-topic here as asking for a tool. This should have been asked on Software Recommendations
    • rizidoro
      rizidoro over 7 years
      @CliffBurton yes it should... but you just forget to see the date when the question was asked... there was no Software Recommendation on that date.
  • jiminikiz
    jiminikiz over 12 years
    Related: I wrote up instructions for using Fiddler with an Android device: cantoni.org/2011/06/28/debug-http-android-fiddler
  • jiminikiz
    jiminikiz over 10 years
    FYI: I wrote up an updated guide with steps and screenshots here: Capture Android Mobile Web Traffic With Fiddler. Also the Fiddler website has a good writeup: Configure Fiddler for Android / Google Nexus 7
  • ComFreek
    ComFreek almost 10 years
    @BrianC Nice tutorial! You might want to add one hint though: Chrome does not use the normal WiFi proxy for HTTP requests if the option Reduce data usage under Chrome-->Settings-->Bandwidth management is activated. If it is activated, Chrome will use a Google proxy to reduce the data usage and will therefore ignore the custom proxy.
  • jiminikiz
    jiminikiz almost 10 years
    @ComFreek thanks for pointing that out! I've updated my tutorial page to mention that for Google Chrome users.
  • Jason D.
    Jason D. about 9 years
    This answer is a good example of why pertinent pieces from the article should be copied. • Install Wireshark • Follow the instructions in the readme to also install the ChmodBPF script • Under Sharing area of the OS X settings app configure your system to use an ethernet connection and share it out to wifi clients • Now configure your device to connect to the wifi network provided by your system, test to make sure it works • Startup Wireshark and set it to capture traffic (wifi is en1 on MacBook Pro systems, what I normally use) from waybackmachine: goo.gl/6mXcpD
  • hellowahab
    hellowahab over 6 years
    I have tried connection the Android using your suggested link but I am unable to browse internet.
  • Mikael Dúi Bolinder
    Mikael Dúi Bolinder over 5 years
    @SreekumarP no, if anything it needs a Windows machine.