hc-dev mailing list archives

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

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

Sebb commented on HTTPCLIENT-1632:
----------------------------------

Android apps cannot directly make use of Maven artifacts; external libs have to be bundled
with the app code.
So it is only necessary to provide a download location for your repackaged version if you
wish it to be available for other Android developers.
[This must not use org.apache for the package name prefix]

Using Maven Central may be covenient, but it's very easy to get it wrong and accidentally
cause classpath problems.

It is vital that you use a different Maven group id and of course the package names must be
different.
Also, do not use org.apache as the prefix, as that is reserved for ASF software.




> 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