@Alexey : What's the meaning of "git"?
@ Hamy : ¡ I needed this line :) ! -> resp.getEntity().writeTo(bao); I'm sure that the code that you are put help me a lot. @ Raphael : I used Google before put my question here. If you search this --> http://www.google.com/search?q=set+proxy+for+android+web+browser The information that Google found is about change the "general/main" proxy, I only want redirect the browser's traffic. Thank you people. On 21 jun, 00:56, Raphael <[email protected]> wrote: > On Fri, Jun 19, 2009 at 7:57 AM, psaltamontes<[email protected]> wrote: > > > Yes, I want to say request :), sorry , I need improve my English. > > > I don't want my application modify the settings of the browser, the > > idea is that the user configure the proxy of the browser and install > > my application. This application is a service that listen theHTTP > > requests and send to the Internet. > > This might help: > http://www.google.com/search?q=set+proxy+for+android+web+browser > > R/ > > > > > I want capture theHTTPrequest and modify the headers because, in the > > header, I put a number to identify the client that connect to my > > webserver, doing this, the user don't have to put an user name and a > > password. I have written the code to do this, in PC works, but in > > Android I don't know how to get this behaviour. > > > How can I do? > > > On 18 jun, 21:14, "Mark Murphy" <[email protected]> wrote: > >> > I need capture the Android's browserHTTPpetitions. > > >> I think you mean "request", not "petition". > > >> > In PC to capture theHTTPpetitions is easy, I change the browser > >> > configuration, I put localhost and a port (7777) and it's works. But, > >> > in Android I don't know how to change the browser configuration. > > >> I would be rather surprised if they allowed applications to adjust the > >> proxy server settings of the browser application. That would be a way for > >> spyware to attack the user. > > >> For the emulator, you can set up a proxy server from outside the emulator > >> environment itself: > > >>http://developer.android.com/guide/developing/tools/emulator.html#proxy > > >> -- > >> Mark Murphy (a Commons Guy)http://commonsware.com > >> _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

