Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6591E9218 for ; Thu, 19 Apr 2012 05:57:07 +0000 (UTC) Received: (qmail 31128 invoked by uid 500); 19 Apr 2012 05:57:07 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 30788 invoked by uid 500); 19 Apr 2012 05:57:02 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 30757 invoked by uid 99); 19 Apr 2012 05:57:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 05:57:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ashimita@gmail.com designates 209.85.213.170 as permitted sender) Received: from [209.85.213.170] (HELO mail-yx0-f170.google.com) (209.85.213.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 05:56:56 +0000 Received: by yenl5 with SMTP id l5so7378967yen.1 for ; Wed, 18 Apr 2012 22:56:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qKd7N/cLb6HB0MynXxxTB2kl7J8Pf8Uv3T2ZiSLUrAM=; b=DFIm9lt4nO7ugWM9BS/gZJh+Dc/vG9r6NO5v1r8k0JuiP5NQOI2kL1n+iCc5Lpmizq 84S88ZOhsBofnyxtTUAOI6/IwXrsVAIkXqM4YHfSn7ph94+rKhz/sr3iEWnfsImXiEfF pHsJaNMo3ygYqzxD3XH4P0cb1ChzrtUu8mPpvo+sAb6rT+KEZ3+BK1HB10dJP2bgl6bK PSUGpVdoWKFZkQKio4f/YX5WVk/063hZZHDrxqXq7Oxp9cWdxpOLKQyHvVIBT1OuQlRh Ar3ZDQrXkrHtHx7bvWIdTK8IRkxMgjBtl7hxDOGR0Jr5ufTdGM0RGVBQUSHDAKoqrXDx Cfhg== MIME-Version: 1.0 Received: by 10.236.154.2 with SMTP id g2mr611490yhk.103.1334814995528; Wed, 18 Apr 2012 22:56:35 -0700 (PDT) Received: by 10.147.115.11 with HTTP; Wed, 18 Apr 2012 22:56:35 -0700 (PDT) In-Reply-To: <4F8EA403.5010307@gmx.de> References: <91C875D8-CD3C-4914-B3F2-2C8D60770E8F@adobe.com> <4F8E8D10.9010800@gmx.de> <4F8EA403.5010307@gmx.de> Date: Thu, 19 Apr 2012 11:26:35 +0530 Message-ID: Subject: Re: Developed jackrabbit-webdav client for Android From: ashimita To: Julian Reschke Cc: dev@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=20cf302d49c8a63c3a04be01d569 X-Virus-Checked: Checked by ClamAV on apache.org --20cf302d49c8a63c3a04be01d569 Content-Type: text/plain; charset=ISO-8859-1 Hi Julian, The libraries that are not supported are: org.slf4j.Logger and org.slf4j.LoggerFactory which are used mainly for logging purpose. HttpServletRequest.*getHeader()* is also not supported. So here is what the Dalvik VM says, when one uses the getHeader() method in the jackrabbit library: I/*dalvikvm*(368): Could not find method javax.servlet.http.HttpServletRequest.getHeader, referenced from method org.apache.jackrabbit.webdav.header.OverwriteHeader. This was tested against Gingerbread (API 10) and ICS (API 15) using Android emulator. Honeycomb (API 12 and 13) will also not support the same, IMO, since it is between Gingerbread and ICS. I had developed this 1 year back with 2.2.5, and hence relying on meld diff tool to find out the changes. There might be few other APIs as well which may not be supported and which I had taken care of at that time. With new releases by Android, e.g. Jellybean, it becomes imperative for us to test this jackrabbit library against each new version of Android. Further more, I would also like to emphasize, that there was an out of memory issue while uploading larger files from Android. So this feature also needs to be fixed and integrated with the library, now that FileRequestEntity is available with commons-httpclient version 3.1. Thanks and Regards, Ashimita On Wed, Apr 18, 2012 at 4:52 PM, Julian Reschke wrote: > On 2012-04-18 12:49, ashimita wrote: > >> Hi Julian, >> >> Currently, the jackrabbit-webdav has no support for android. >> >> If we have an Android app which has to do a File IO operation to a >> webdav server, say, file upload, download, delete etc. the >> jackrabbit-webdav.jar does not support the operations. The reason is >> because it uses libraries which are not supported by Android platform >> and hence can't be executed. >> ... >> > > Which are those libraries? > > Best regards, Julian > --20cf302d49c8a63c3a04be01d569 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Julian,

The libraries that are not supported are:=A0<= /div>

org.slf4j.Logger and =A0org.slf4j.LoggerFacto= ry which are used mainly for logging purpose.

Http= ServletRequest.getHeader()=A0is also not supported. So here is what = the Dalvik VM says, when one uses the getHeader() method in the jackrabbit = library:

I/dalvikvm(368): Could n= ot find method javax.servlet.http.HttpServletRequest.getHeader, referenced = from method org.apache.jackrabbit.webdav.header.OverwriteHeader.<init>= ;

This was tested against = Gingerbread (API 10) and ICS (API 15) using Android emulator. Honeycomb (AP= I 12 and 13) will also not support the same, IMO, since it is between Ginge= rbread and ICS.
I had developed this 1 year back with 2.2.5, and hence relying on meld= diff tool to find out the changes. There might be few other APIs as well w= hich may not be supported and which I had taken care of at that time.

With new releases by Android, e.g. Jellybean, it become= s imperative for us to test this=A0jackrabbit=A0library against each new ve= rsion of Android.

Further more, I would also like = to emphasize, that there was an out of memory issue while uploading larger = files from Android. So this feature also needs to be fixed and integrated w= ith the library, now that=A0FileRequestEntity is available with=A0commons-h= ttpclient version 3.1.

Thanks and Regards,

Ashimita
On Wed, Apr 18, 2012 at 4:52 PM, Julian = Reschke <juli= an.reschke@gmx.de> wrote:
On 2012-04-18 12:49, ashim= ita wrote:
Hi Julian,

Currently, the jackrabbit-webdav has no support for android.

If we have an Android app which has to do a File IO operation to a
webdav server, say, file upload, download, delete etc. the
jackrabbit-webdav.jar does not support the operations. The reason is
because it uses libraries which are not supported by Android platform
and hence can't be executed.
...

Which are those libraries?

Best regards, Julian

--20cf302d49c8a63c3a04be01d569--