incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kimmo Puputti (JIRA)" <>
Subject [jira] [Created] (CB-756) Image Capturing does not call the success callback
Date Fri, 11 May 2012 14:42:50 GMT
Kimmo Puputti created CB-756:

             Summary: Image Capturing does not call the success callback
                 Key: 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

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:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message