[ 
https://issues.apache.org/jira/browse/CB-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274731#comment-13274731
 ] 

Filip Maj commented on CB-756:
------------------------------

Good question. Either documentation or providing a meaningful error message 
should be done here. I'll start a thread on the dev mailing list.
                
> Image Capturing does not call the success callback
> --------------------------------------------------
>
>                 Key: CB-756
>                 URL: https://issues.apache.org/jira/browse/CB-756
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.7.0
>         Environment: Tested on Android 2.3, 2.3, and 4.0 emulators as well as 
> a device running Android 4.0.
>            Reporter: Kimmo Puputti
>            Assignee: Joe Bowser
>            Priority: Blocker
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> When a image capturing is initiated with a call to
> navigator.device.capture.captureImage(success, error);
> the camera opens and you can take a picture, but the 'ok' button doesn't 
> work. You can cancel and the error callback is invoked.
> Might this be due to Cordova 1.7.0 changing the reference to the Plugin 
> context from Plugin.ctx to Plugin.ctx.getContext()? At least that's the 
> change I had to make to the localNotification plugin to get it working.
> If that's the case, the problematic line might be this one:
> https://github.com/apache/incubator-cordova-android/blob/master/framework/src/org/apache/cordova/Capture.java#L203

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

        

Reply via email to