Nathan of Guardian:
> 
> 
> On Wed, Nov 4, 2015, at 05:25 AM, Hans-Christoph Steiner wrote:
>>
>> Hey Amogh and anyone else interested,
>>
>> I just looked into using Apache HttpClient for Android[1] on
>> android-23/6.0.
>> Google provides a compatibility library which re-adds the old HttpClient
>> that
>> is included in older versions of Android.  So rather than maintaining
>> ch.boye,
>> I think it makes sense to switch Orfox to Apache HttpClient for
>> Android[1],
>> and use the compatibility library.  That jar is found here:
>>
>>   $ANDROID_HOME/platforms/android-23/optional/org.apache.http.legacy.jar
>>
>> With gradle builds, it can be included like this:
>>
>>   android {
>>       useLibrary  'org.apache.http.legacy'
>>   }
>>
>> https://hc.apache.org/httpcomponents-client-4.3.x/android-port.html
>>
> 
> If I remember correctly, the reason NetCipher had the ch.boye dependency
> at all was that I couldn't get SOCKS proxying and perhaps some of the
> other hardening features working with the built-in
> Android httpclient. 

Apache HttpClient for Android should be closer to ch.boye than the built-in
HttpClient.  It is the latest version of the standard Apache HttpClient, but
uses the Android-builtin classes where there are conflicts.  It then provides
the standard classes in renamed versions.

> Also, for Orfox, is ch.boye our dependency or did that come from Mozilla
> upstream?

That came from upstream.

hc

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
https://pgp.mit.edu/pks/lookup?op=vindex&search=0x9F0FE587374BBE81
_______________________________________________
List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
To unsubscribe, email:  [email protected]

Reply via email to