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. being ignored?

I'm building using Ant and trying to use to override
some default values, and failing miserably. What am I missing?

Here's what I've tried:

1) Create a project with:

2) Add the following line to the bottom of

3) Build with "ant debug"

The output stubbornly still ends up in the bin directory.

The comment in says:

# You can use this to override default values such as
#  'source.dir' for the location of your java source folder and
#  'out.dir' for the location of your output folder.

Which seems pretty straightforwards. What am I missing?

Thanks in advance!



2. eclipse closes on opening main.xml file

Why does eclipse completely crash on opening main.xml file ?


3. How to start application after pressing particular key?

4. Live report3

5. delete last dialled number from call log?

6. Hide Gallery in ImageSwitcher

7. Add Captions ImageSwitcher