Debug HTTP Traffic From Android Tablets Using Fiddler

|

Having recently upgraded my Samsung Galaxy Tab 10.1 to the latest Android “Honeycomb” 3.1 release, I wanted to take a closer look at watching the HTTP web traffic from and to the device. Using the Fiddler web debugging tool on Windows, I was able to set this up rather quickly with these steps:

On the PC, Install Fiddler if needed. After install, configure Fiddler by opening the options panel (menu Tools | Fiddler Options). Select the Connections tab and enable the ‘Allow remote computers to connect’ option. Note the ‘Fiddler listens on port’ option (normally 8888), and close the dialog. Exit and restart Fiddler.

Fiddler Options

On the PC, determine it’s current IP address (open a command prompt, then type ipconfig).

On the Android tablet, install HTTP Proxy Settings app on the tablet. This app simply brings up the “HTTP Proxy” setting panel so you can make changes. Start the HTTP Proxy Settings app and enter your PC’s IP address as the host, and port number 8888.

Update 2012-02-20: With the latest updates on my Galaxy Tab 10.1, there is no longer a need for the 3rd-party Proxy Settings app. See this updated note for details: Galaxy Tab 10.1 HTTP Proxy Settings.

HTTP Proxy Settings

Now run the Android Browser and you should see HTTP traffic routed through Fiddler on the PC. Below see an example of visiting Yahoo’s “tablet” home page:

Fiddler Log Results

When you’re done, don’t forget to run the HTTP Proxy Settings app again to clear out the host and port fields. (Otherwise your tablet browser will become unusable when Fiddler is no longer running.)

If you found this post interesting, you can subscribe to the RSS feed, receive updates by email, or follow me on twitter: @bcantoni.

Possibly related posts:

About

This is the personal website of Brian Cantoni. All opinions on this site are my own. Reach me by email: brian at cantoni.org.

Subscribe

Keep up to date with new content:

 Subscribe in a reader

 Subscribe by Email

Twitter

The latest tweets from @bcantoni:

Recommended! >> Getting started with login verification | Twitter Blog http://t.co/xdnX0h3jm6
23 May 2013 01:53
ABC: Always Be Coding | How to Land an Engineering Job http://t.co/AaS6iy7Mh9
22 May 2013 15:58
RT @_higg: Great article on improving conversion rates with a little #webperf http://t.co/HtLPVJAORk via @Econsultancy #ecommerce
21 May 2013 18:54
Liking the new #Flickr, including more storage for all. Interesting reactions (good+bad) to the new design | http://t.co/cBcieHc654
21 May 2013 01:53
RT @alexdeve: This is why it's so hard to build great products and scale them http://t.co/qmYM37FDIf
20 May 2013 22:44
RT @andrey_butov: 2013 VPS Benchmarks - Linode, Digital Ocean, Hot Drupal , via @midwesternmac -- http://t.co/S2276qVicM
20 May 2013 03:49
.@jcfphotog nice pics! slideshow looks great on iPad @Athletics
20 May 2013 03:13
RT @secboffin: This pile of unread books on my desk is getting out of hand. http://t.co/eXb15qckOc
19 May 2013 16:50
RT @sh1mmer: Unimpressed with the gold rush behavior when people got offered a free tshirt.
19 May 2013 02:39
RT @stshank: 200 million people use Google Translate each day, and it serves up 1 billion translations: http://t.co/HXTuwfWnyB #io13 bonus …
18 May 2013 18:04

Twitter Favorites

Your Twitter favorites delivered to your inbox: Tweetfave.com

Mobile Websites

Visit cantoni.mobi for a helpful list of mobile sites.

Archives

For older entries, please refer to the Archives.

Support this Site

pair Networks logo

pairNIC logo