hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1632) HttpClient deprecated in Android API level 22
Date Mon, 24 Aug 2015 09:38:46 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709017#comment-14709017
] 

Oleg Kalnichevski commented on HTTPCLIENT-1632:
-----------------------------------------------

Google has used the project when it suited their goals and screwed us afterwards. There is
nothing we can do about it. 

When targeting Android API22 or older one should be using the official port
http://hc.apache.org/httpcomponents-client-4.3.x/android-port.html

When targeting Android API23 or new one _theoretically_ should just be able to use the stock
version of HttpClient

Alternatively one can always use httpclientandroidlib developed by Dirk Boye to target all
versions of Android
https://code.google.com/p/httpclientandroidlib/

For the time being I would rather dedicate my and project's limited resources to building
HTTP/2 transport

Oleg

> HttpClient deprecated in Android API level 22
> ---------------------------------------------
>
>                 Key: HTTPCLIENT-1632
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1632
>             Project: HttpComponents HttpClient
>          Issue Type: Task
>          Components: Android Port
>    Affects Versions: 4.3.5.1-android
>            Reporter: Kurian Abraham
>            Priority: Minor
>              Labels: documentation
>             Fix For: 5.0
>
>
> The entire org.apache.http package classes have now been deprecated by Google in Android
API level 22. Is there some recommended procedure to be followed to avoid the compiler warnings?
Perhaps it should be noted in the documentation.
> http://developer.android.com/reference/org/apache/http/package-summary.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message