On Thu, Apr 9, 2009 at 3:30 PM, Erik H <erik.d.hell...@gmail.com> wrote:

>
> I need to use HttpClient in my application. However, the network I'm
> on when running the emulator has a proxy that requires authentication.
>
> How do I configure the emulator to use this proxy with authentication
> and how do I tell HttpClient to use this?
>

emulator -help-http-proxy will tell you how to activate the emulator's
transparent proxy feature.
Note that this is transparent, i.e. you should not need to tell HttpClient
anything special if you
activate it.

Another note: there is currently a bug in the 1.1 emulator that prevents it
to work with certain
MS proxies that insist on sending chunked answers. The fix is already in the
cupcake tree.

I know that there is more or less proxy support in the framework, but I'm
not sure it works
well or is officially supported (meaning: it could disappear/change in
cupcake or later)


>
> Currently, this is sort of blocking further development as I don't
> wish to manually configure proxy in my code but use the one the device
> is configured for.
>
> Thanks,
> Erik
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to