I tried Fiddler but gave up. The Android guide dives into some of the emulators 
details on network topology but still could not view packets with Fiddler.

What does work fine is Wireshark/Ethereal which I used to intercept packets of 
data. This also works well if you are using an actual device over 802.11 as 
well.

Wireshark[old name Ethereal] decodes just about every known network packet 
type.  I used it to trace HTTP/Soap packets from the Android Emulator as I was 
developing an app.

http://www.wireshark.org/


happy tracing !



  ----- Original Message ----- 
  From: David Turner 
  To: [email protected] 
  Sent: Thursday, June 17, 2010 7:53 PM
  Subject: Re: [android-discuss] Internet proxy setting on android emulator





  On Thu, Jun 17, 2010 at 12:29 PM, Anu Tripathi <[email protected]> wrote:

    Hi All,
     I'm trying to intercept all the http/https requests from android 2.1
    sdk emulator (specifically interested in request from our app ) using
    fiddler. I have fiddler running on the same machine where emulator is
    running.

    I followed the sql query instruction (adb shell ....)
     I restarted emulator with below command

    emulator -avd <emulator name> -http-proxy http://127.0.0.1:8080

    but I still don't see anything in fiddler, even when I go to google
    from browser in emulator.


  the page could be cached by the browser, did you try to reload it.


  also, you can add the -debug-proxy option, it will dump the traffic that
  goes through the proxy on the command-line (with formatting)

    If someone is able to view all the http connection from their android
    emulator ( even if not through fiddler but some other tool) please
    reply with instructions.

    Thanks in advance,
    Anu


    --
    You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
    To post to this group, send email to [email protected].
    To unsubscribe from this group, send email to 
[email protected].
    For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.





  -- 
  You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
  To post to this group, send email to [email protected].
  To unsubscribe from this group, send email to 
[email protected].
  For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to