Wednesday, August 8, 2012

[android-developers] Re: HttpsURLConnection when APN has proxy set

Thanks Zoran.

I just re-ran my test app and it worked with the NO_PROXY setting !!

Another probably dumb question.  Is this guaranteed to not adversely affect internet connectivity?  In other words, just because it worked in my test case, does that mean that other mobile carriers that specify a proxy in their APN settings will also be fine?

Cheers,

Steve

On Thursday, August 9, 2012 1:15:22 PM UTC+10, Zoran Smilevski wrote:
Did you try to open a connection with NO_PROXY parameter?

HttpURLConnection conn = (HttpURLConnection)mUrl.openConnection(Proxy.NO_PROXY);


--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate