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 DC2A79D90 for ; Fri, 13 Apr 2012 16:02:22 +0000 (UTC) Received: (qmail 20228 invoked by uid 500); 13 Apr 2012 16:02:22 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 20209 invoked by uid 500); 13 Apr 2012 16:02:22 -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 20200 invoked by uid 99); 13 Apr 2012 16:02:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 16:02:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 16:02:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2BC123696E3 for ; Fri, 13 Apr 2012 16:01:59 +0000 (UTC) Date: Fri, 13 Apr 2012 16:01:59 +0000 (UTC) From: "Shazron Abdullah (Resolved) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1595471637.22503.1334332919185.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <67599666.22327.1334330537383.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CB-503) Malformed json in Camera.getPicture capturePhoto & capturePhotoEdit example MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-503. --------------------------------- Resolution: Fixed Fix Version/s: 1.6.1 Fix commit: http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-docs.git;a=commit;h=3253e768e667a9c121463369b5dbf9e955930975 > Malformed json in Camera.getPicture capturePhoto & capturePhotoEdit example > --------------------------------------------------------------------------- > > Key: CB-503 > URL: https://issues.apache.org/jira/browse/CB-503 > Project: Apache Callback > Issue Type: Bug > Components: Docs > Affects Versions: 1.6.0 > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Priority: Minor > Fix For: 1.6.1 > > > This happens in both capturePhoto and capturePhotoEdit. > Expected: > {code} > function capturePhoto() { > // Take picture using device camera and retrieve image as base64-encoded string > navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50, destinationType: destinationType.DATA_URL }); > } > {code} > Actual: > {code} > function capturePhoto() { > navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50, destinationType.DATA_URL }); > } > } > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira