incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-503) Malformed json in Camera.getPicture capturePhoto example
Date Fri, 13 Apr 2012 15:22:17 GMT
Malformed json in Camera.getPicture capturePhoto 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: Michael Brooks
            Priority: Minor


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

        

Mime
View raw message