You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/01 02:05:58 UTC

[jira] [Resolved] (CB-290) Capture API callbacks are failing

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

Joe Bowser resolved CB-290.
---------------------------

    Resolution: Fixed
      Assignee: Joe Bowser  (was: Filip Maj)

This was a Callback-JS bug where we weren't handling what was being passed back correctly.  We may need to figure out this API again.
                
> Capture API callbacks are failing
> ---------------------------------
>
>                 Key: CB-290
>                 URL: https://issues.apache.org/jira/browse/CB-290
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> The Capture API is broken on Android, even though it starts the activities properly, the results aren't making their way back to the JS.  This appears to have started with the refactor.  Test with the PhoneGap docs.
> D/CordovaLog(18020): Error in success callback: Capture2 = ReferenceError: pluginResult is not defined
> D/CordovaLog(18020): file:///android_asset/www/cordova-1.5.0rc1.js: Line 544 : Error in success callback: Capture2 = ReferenceError: pluginResult is not defined
> I/Web Console(18020): Error in success callback: Capture2 = ReferenceError: pluginResult is not defined at file:///android_asset/www/cordova-1.5.0rc1.js:544

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

        

Re: [jira] [Resolved] (CB-290) Capture API callbacks are failing

Posted by Elizabeth Baldwin <li...@gmail.com>.
Testing with:
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=summary
master at macdonst's latest checkin today

Test: my api demo app, does not replay or upload capture results, but
calls .getFormatData() on each success result.

Capture/Audio: Get results file back, duration now reported in seconds
(docs say duration in seconds, in 1.4.1 was in milliseconds, so I guess
the difference in units is a FIX in 1.5.0 not a BUG)
Capture/Image: Ok
Capture/Video: Same issue with units as Audio.

Result: As of 1.5.0, processing of captured data, duration, should expect
seconds
not msecs.

On Wed, Feb 29, 2012 at 5:05 PM, Joe Bowser (Resolved) (JIRA) <
jira@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/CB-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Joe Bowser resolved CB-290.
> ---------------------------
>
>    Resolution: Fixed
>      Assignee: Joe Bowser  (was: Filip Maj)
>
> This was a Callback-JS bug where we weren't handling what was being passed
> back correctly.  We may need to figure out this API again.
>
> > Capture API callbacks are failing
> > ---------------------------------
> >
> >                 Key: CB-290
> >                 URL: https://issues.apache.org/jira/browse/CB-290
> >             Project: Apache Callback
> >          Issue Type: Bug
> >          Components: Android
> >    Affects Versions: Master
> >            Reporter: Joe Bowser
> >            Assignee: Joe Bowser
> >            Priority: Blocker
> >             Fix For: 1.5.0
> >
> >
> > The Capture API is broken on Android, even though it starts the
> activities properly, the results aren't making their way back to the JS.
>  This appears to have started with the refactor.  Test with the PhoneGap
> docs.
> > D/CordovaLog(18020): Error in success callback: Capture2 =
> ReferenceError: pluginResult is not defined
> > D/CordovaLog(18020): file:///android_asset/www/cordova-1.5.0rc1.js: Line
> 544 : Error in success callback: Capture2 = ReferenceError: pluginResult is
> not defined
> > I/Web Console(18020): Error in success callback: Capture2 =
> ReferenceError: pluginResult is not defined at
> file:///android_asset/www/cordova-1.5.0rc1.js:544
>
> --
> 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
>
>
>