regarding HTTPClient : How to get the HTTP request posted by the native browser

by Viju » Fri, 20 May 2011 09:34:00 GMT

Sponsored Links

Is it possible to get all the HTTP URL request triggered by the
browser (Apache) from my client application ? If then, can you please
tell me the framework API which gives me the URL ?

I'm developing some kinda of HTTP sniffer application for android
which will log all the HTTP Url request made by the native browser
(Apace) and store it in a local file.


Re: regarding HTTPClient : How to get the HTTP request posted by the native browser

by Jens » Fri, 20 May 2011 17:31:40 GMT

 Apache - as in the HttpClient, org.apache.http.* or the web server?
Further - the browser in the phone typically doesn't use the apache
HTTP client library, it's JNI to WebKit.

The good thing is that you're not going to be able to sniff either
without building your own firmware and flashing the phone.


Sponsored Links

Other Threads

1. G1 owners: "A system update is available" - is it safe?

This'd be a question for android-discuss, actually.

The SIM-locking in the G1 is unrelated to Android itself, it's a much
deeper property of the underlying firmware. You can apply the upgrade
and your device will still be SIM-unlocked.


Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.


2. GetLastKnownLocation vs. requestLocationUpdates

Hi All,

I am trying to figure out how these location  methods work behind the

Per the documentation, it is not clear whether any GPS change of
location  will notify both our activity (if we requested location
updates) and register the astKnownLocation If that is the case
then using the GetLastKnownLocation() is always the best bet to get
current location.

Please share your thoughts,

3. Why "requestWindowFeature(Window.FEATURE_LEFT_ICON)" always return false?

4. JUnit

5. Issues while using putExtra

6. help required on drawable animation

7. Broken link in installation instructions