java - Using Apache HttpClient 4.3 with Android and other platforms -


i'm porting backup client called degoo windows android. client written in java 7 , we're targeting android 4.4 , above figured code, except ui pretty straightforward port. unfortunately noticed google has decided force use pre-beta version of apache httpclient 4.0 (https://hc.apache.org/httpcomponents-client-4.3.x/android-port.html). problem use httpclient 4.3 , need keep way. have been straightforward if we'd have target android. we'd use httpclient-android instead. however, code must still work other platforms. have dependencies have httpclient transitive dependency (e.g. httpmime).

what elegant solution problem? should grab entire source code of httpclient, change namespace , have code use instead? we'd have same thing our dependencies depend on httpclient far haven't come better solution.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -