Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-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 C8E2BE592 for ; Fri, 11 Jan 2013 18:21:59 +0000 (UTC) Received: (qmail 37092 invoked by uid 500); 11 Jan 2013 18:21:59 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 37057 invoked by uid 500); 11 Jan 2013 18:21:59 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 37049 invoked by uid 500); 11 Jan 2013 18:21:59 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 37046 invoked by uid 99); 11 Jan 2013 18:21:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 18:21:59 +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 maxw@google.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vb0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 18:21:52 +0000 Received: by mail-vb0-f45.google.com with SMTP id p1so1719475vbi.4 for ; Fri, 11 Jan 2013 10:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=5ix7hNUXFwjMi980XqyB2Gf4XoBQV7nu3pw1NG6KJrQ=; b=BpCQQ2MhwxSm1ywqQT5ZvuS0GXkA2R+GU2/1juVXvX0I2SDeS6Rhev8ZR8p2CV8gFg R1ZjjcMMrBYlHg1IUmxH4w+llRDCjcZG1neQSOLwmGTJvkZOXqWjtHI+GPLjfaBFl9vc GLfBUMHcK70J6rkARbCLZ7B7hrztc7+8NvLD7xwBJm4xtUA6EMFuWaREdOci2YkJiAEK MSgSzEpdDjpvMevKcOnSjwgmRd5LujSDiAmDGH8UX2dOw5kbCp5etrnFJ/nibkQhuCMg 3QMSquqzVztzNA/QUfknTcZQok1FC/D/G9tL8ayqcQWt812XHcwwp/AB846tGaJjHzIj I9jQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=5ix7hNUXFwjMi980XqyB2Gf4XoBQV7nu3pw1NG6KJrQ=; b=DXkyTYYaRNFumt5goiRPT4dULcLrSCU2liWRXfpMs74Ql0fAy/7BjFTmIB/nWM4+qN iluuxBNI9hNEhH35cSFvVgQs7kbO+u7pqKgNeLdnPlN+plGpniGUVsGsYcOfR9unmI7R QH5toEuQuK5neYMDEdxG3kFg9N+/bksrYwstU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:x-gm-message-state; bh=5ix7hNUXFwjMi980XqyB2Gf4XoBQV7nu3pw1NG6KJrQ=; b=PQDGcwBcMx8aWNbprXkwiJyXnZYugZDT+Rj0jT39VexRXeBq25zjiJhQ25QdfvXMEf i/Bm68qgRce6//PmXODUk0vsQJq9kgD4wiaQ8YP7d6r4DHuMkPIoyqmr1AcjmBUMbmVX QrAkVZHzXgzIDz/7rVtCvlHrw589FxUCXfCZVAiC+kik6Oh3PZlrfK2oDH20NEbrJtdH xLqu6hXlaZdQ1EanmTVEmfdhceyTO+/XBAg3r1k+J7Spz2gOpv1biBodVWW2fwlne3Xj ZSNKe3FVI7MDJDn6Z8x4cbbZeInplZTJLI0lKq7SoiNJFHkCnzWxOoiZ46n0yuQ1A0b0 KBWg== Received: by 10.58.248.41 with SMTP id yj9mr97560172vec.29.1357928492031; Fri, 11 Jan 2013 10:21:32 -0800 (PST) MIME-Version: 1.0 Sender: maxw@google.com Received: by 10.220.40.20 with HTTP; Fri, 11 Jan 2013 10:21:01 -0800 (PST) From: Max Woghiren Date: Fri, 11 Jan 2013 13:21:01 -0500 X-Google-Sender-Auth: Mbe51zLyWoERkkA-C019Fe9thmo Message-ID: Subject: Native URL functionality for files To: callback-dev Content-Type: multipart/alternative; boundary=047d7bf0d0b265dea904d3075d3c X-Gm-Message-State: ALoCoQk+MbFYTSlv0Tb7cXXealxpSjB/H32A7ctFX55Nx1/UHlN8gbLqAGA8R74rLE5NADuTfUFMhqfUAAnusQtejOuLdfBQ+2fdiYWRX/lCVV6vuPDUD/n3mWGgM0PildKiWTOiROpR4aWYM3kLphdGv4zg1AN2a5fDa1FvJucY7E68Q+jBUP/p+yg37eGwP1fEExypUdDUSrHiTMmsfJcCl1gbCuatnw== X-Virus-Checked: Checked by ClamAV on apache.org --047d7bf0d0b265dea904d3075d3c Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, I'm working on implementing chrome apps file system functionality using Cordova. I'm focusing on iOS first. I'm planning on using AssetsLibrary to prevent having to (1) send actual file data to and from JS unnecessarily and (2) save temporary copies of files. In order to use asset library URLs (and the equivalents on other platforms), I'd like to add a third Camera DestinationType: NATIVE_URL. In iOS, Camera would send back the assets-library URL, which can then be stored in a FileEntry. This type of URL would then be handled wherever necessary. For instance, uploading an image to a server using FileTransfer would be able do it directly from the photo library, since it'd be given the assets-library URL. File would have a bunch of changes to handle this as well. Please let me know if you have any comments, concerns, or things to consider about add this functionality. Thanks! -Max --047d7bf0d0b265dea904d3075d3c--