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. New Android Device

Hello All!

Let's say i would like port android for a new device.
I'm wondering what are the legal problems.
I assume the pure Android Code is on Apache License so I can use it
freely. Is that right?
I goggled a bit and I found that i cannot use Google-Apps such Google
maps, YouTube etc without google permission.
But i haven found reasonable answers yet.
And also what about Android Market on such device? Do you know what's
google policy in that case?

Do you know where can i find a complete information about licensening
problems in that case?



2. Android 1.6 Donut : how to build CTS ?


I can not build the compatibility test suite for Donut. I would like
to build it because it is not available for download here :

There is no cts directory in my sources, but I saw that it has been
introduced in january 2010 in eclair (?)
I found a in build/core/task, so I guessed it is possible to
build it.
What I did was :
get donut branch, envsetup, lunch 1 (or choosecombo)  and make cts.

I get an error : No rule to make target `DeviceInfoCollector' ...
The only answer I found was :

3. mending mana antara galaxy tab dan dell streak?

4. Regarding setting custom highlight color for gridview

5. [Widget][RemoteViews]How to implement Animation of Widget

6. Android not calling onDestory when service is killed using task manager

7. Writing code for multiple APIs