[jsword-devel] HttpURLConnection - HttpClient
Martin Denham
mjdenham at gmail.com
Sat Jul 4 14:16:11 MST 2015
Regarding 'Do you know if they have FTP support as well' this article
<http://www.codejava.net/java-se/networking/ftp/use-urlconnection-to-download-file-from-ftp-server>
shows an example of using URLConnection to download over ftp.
Martin
On 4 July 2015 at 17:41, DM Smith <dmsmith at crosswire.org> wrote:
> If we can do it without disruption to desktop apps, i.e. non-Android, I’m
> fine with changing to something different. I’d be happy to test it in
> BibleDesktop.
> Do you know if they have FTP support as well. I’m nearly done with adding
> SWORD style FTP support.
>
> Also, I’d like to suggest that we figure out how to modify the User Agent
> of the request to indicate the application name. We’d like to quantify the
> downloads by app and perhaps the version of the app.
>
> — DM
>
> On Jul 4, 2015, at 9:10 AM, Martin Denham <mjdenham at gmail.com> wrote:
>
> Does anybody have any thoughts or considerations regarding the use of
> HttpClient by JSword as opposed to the use of HttpURLConnection?
>
> Recently I investigated the use of And Bible on Chrome using ARC Welder
> <https://chrome.google.com/webstore/detail/arc-welder/emfinbmielocnlhgmfkkmkngdoccbadn>
> and discovered that Apache HttpClient is currently incompatible with
> Chromium (see issue
> <https://code.google.com/p/chromium/issues/detail?id=384940>) . Then I
> also stumbled over this recommendation by Google
> <http://developer.android.com/training/basics/network-ops/connecting.html#http-client>
> to use HttpURLConnection on Android rather than other http clients.
>
> I realise Android is just one of many OSs that JSword runs on but wondered
> what thoughts people might have regarding the use of this library as
> opposed to HttpURLConnection.
>
> Cheers
> Martin
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20150704/e58a00f1/attachment.html>
More information about the jsword-devel
mailing list