incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-523) Camera full example has invalid JSON for Camera options object
Date Tue, 17 Apr 2012 19:41:17 GMT

     [ https://issues.apache.org/jira/browse/CB-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah resolved CB-523.
---------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 1.7.0)
                   1.6.1

dupe of CB-503 which has been fixed.
                
> Camera full example has invalid JSON for Camera options object
> --------------------------------------------------------------
>
>                 Key: CB-523
>                 URL: https://issues.apache.org/jira/browse/CB-523
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Michael Brooks
>             Fix For: 1.6.1
>
>
> The top-most full example has the following code:
> {code}
>     function capturePhoto() {
>       // Take picture using device camera and retrieve image as base64-encoded string
>       navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
>         destinationType.DATA_URL });
>     }
>     // A button will call this function
>     //
>     function capturePhotoEdit() {
>       // Take picture using device camera, allow edit, and retrieve image as base64-encoded
string  
>       navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 20, allowEdit:
true,
>         destinationType.DATA_URL });
>     }
> {code}
> Note how the Camera options object is not valid JSON.

--
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