Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 39477DC5F for ; Wed, 29 Aug 2012 15:01:25 +0000 (UTC) Received: (qmail 4414 invoked by uid 500); 29 Aug 2012 15:01:25 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 4393 invoked by uid 500); 29 Aug 2012 15:01:25 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 4385 invoked by uid 99); 29 Aug 2012 15:01:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 15:01:24 +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 (nike.apache.org: domain of agrieve@google.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 15:01:18 +0000 Received: by obblz20 with SMTP id lz20so1155719obb.6 for ; Wed, 29 Aug 2012 08:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-system-of-record; bh=eulHnuH5ha17HMp2yTZBTjPmPQPWPH3XcpnzNTZgth8=; b=mPiU+AWvDObfH33V42Y2Av7bceqkyWQmZKJVMslSFszmEiPXpQzFTYzzHd6n+Mt496 aMiYpz2ckUwsaUXsCCvSOfUMqofws6YnNFrVl0Ls9g0ntnGNCTypH7zpb6X3l0yaS0tj V2vq8aENV3IP4KBrCSbAcfptLlqZNKZ+NGBO+Dk/uysFXVxYPeA/QSyIpTwdLbUfoySc z7dEFzdCFf3gx8o2Ydk7uETJ3EDbbdLC8eLHwFuO7tAp2V8sJatfjPQR77r9yMUJ2HEX 7xWL61kg0JvsfCYSHRcJ8lL8N24lwyX6Fx/8lY9jUgUj0ZqBKORO0uOha6lWvXWU4KD6 8b7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-system-of-record:x-gm-message-state; bh=eulHnuH5ha17HMp2yTZBTjPmPQPWPH3XcpnzNTZgth8=; b=WOMujYXbrySilvEJc+aZEJDUyhfqcD6EzpFh7/YpQAznXFCAdKPZdQtn/CNcpoLviS GygQLMRArLVVtWxywdpJ0ygVrnwx0lZx6y07Afaz1IkNuWFhn/WBnlXZYH06inxGV1P+ NfuE206lzCg2aZxCyElwEa9Vhq4Ub/ONyHni2SZzBxheJZo0eiu7RPG8fcFBZ55sfwkA DktDnw9meqy2jzBAFizPOF7WwkpEdT3I6EpKIwhPIBh87CGotbPspGACxrFReUJwkb4F MIrdLZUCQPieOuiUA8AXdWUNgkoHclng23fU2YzkITgPOadA9HV3icXvI8YRVIFDOFdO l/6Q== Received: by 10.60.13.2 with SMTP id d2mr1487653oec.110.1346252457828; Wed, 29 Aug 2012 08:00:57 -0700 (PDT) Received: by 10.60.13.2 with SMTP id d2mr1487647oec.110.1346252457731; Wed, 29 Aug 2012 08:00:57 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.125.71 with HTTP; Wed, 29 Aug 2012 08:00:37 -0700 (PDT) In-Reply-To: <943703470.12099.1346252049193.JavaMail.jiratomcat@arcas> References: <1829511484.15023.1335909049798.JavaMail.tomcat@hel.zones.apache.org> <943703470.12099.1346252049193.JavaMail.jiratomcat@arcas> From: Andrew Grieve Date: Wed, 29 Aug 2012 11:00:37 -0400 X-Google-Sender-Auth: qoXW09xk-JhgCnSpxirLt1tKPdU Message-ID: Subject: Re: [jira] [Commented] (CB-622) FileTransfer interface should provide progress monitoring To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8ff256728569e404c868d32a X-System-Of-Record: true X-Gm-Message-State: ALoCoQm/uXaT/LWBZ8mswxtClty9+68tlmVUsszd6+eyjgjMZjO16jcWJ0YZPW5Cu8D7JbYNyOQFvZeN9UvO5DVq4QK470P+VUAWUslEeVw5sj1T2mcYlaNLY2+SBMthR6IaqhOVyWUmhdvgS2wPk8aN3ugzg6+q41htOkOLk0t/6nPyhq5aT/TFLDgk9f94TYNzF1XQuXPBEFHheU/zJ4FW8ABEALsiZQ== --e89a8ff256728569e404c868d32a Content-Type: text/plain; charset=ISO-8859-1 Sounds good. The change is big enough already, so maybe let's just make a separate bug for figuring out how to set this field properly. On Wed, Aug 29, 2012 at 10:54 AM, Brion Vibber (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/CB-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444112#comment-13444112] > > Brion Vibber commented on CB-622: > --------------------------------- > > > upload - doesn't look like progress events ever get lengthComputable or > total fields set on them? > > Yeah, I wasn't sure how to get a length reliably, especially for content: > URIs (photos selected from gallery). > > > FileTransfer interface should provide progress monitoring > > --------------------------------------------------------- > > > > Key: CB-622 > > URL: https://issues.apache.org/jira/browse/CB-622 > > Project: Apache Cordova > > Issue Type: Improvement > > Components: Android, BlackBerry, iOS, WP7 > > Affects Versions: 1.7.0 > > Environment: Checked docs for iOS and Android, and in general. > > Reporter: Brion Vibber > > Assignee: Andrew Grieve > > Priority: Minor > > Labels: FileTransfer, file > > > > The FileTransfer upload and download interface seems to provide no way > to monitor progress of the upload/download, other than waiting for the > entire transfer to complete or fail. > > Being able to pass another callback for progress monitoring could be a > useful interface, this might get called with a byte count or something. > > -- > This message is automatically generated by JIRA. > If you think it was sent incorrectly, please contact your JIRA > administrators > For more information on JIRA, see: http://www.atlassian.com/software/jira > --e89a8ff256728569e404c868d32a--