incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kimmo Puputti (JIRA)" <j...@apache.org>
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
                 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


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

        

Mime
View raw message