Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10F7E9A61 for ; Thu, 1 Mar 2012 17:47:33 +0000 (UTC) Received: (qmail 93416 invoked by uid 500); 1 Mar 2012 17:47:33 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 93382 invoked by uid 500); 1 Mar 2012 17:47:32 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 93374 invoked by uid 99); 1 Mar 2012 17:47:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 17:47:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of libby.baldwin@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-tul01m020-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 17:47:26 +0000 Received: by obqv19 with SMTP id v19so1035619obq.6 for ; Thu, 01 Mar 2012 09:47:05 -0800 (PST) Received-SPF: pass (google.com: domain of libby.baldwin@gmail.com designates 10.182.160.33 as permitted sender) client-ip=10.182.160.33; Authentication-Results: mr.google.com; spf=pass (google.com: domain of libby.baldwin@gmail.com designates 10.182.160.33 as permitted sender) smtp.mail=libby.baldwin@gmail.com; dkim=pass header.i=libby.baldwin@gmail.com Received: from mr.google.com ([10.182.160.33]) by 10.182.160.33 with SMTP id xh1mr2254962obb.59.1330624025499 (num_hops = 1); Thu, 01 Mar 2012 09:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qkxs8E+ed4X3LduQ5XsnuH3yqEDJmPU+463KKH9s1ZA=; b=e9acK5UTe72jSRXwNRgPLCrHVLAaXWV21VetoxnoQyZtLNDDnZnO/aCBa70kTCGPLO 8QiQ9lrkGGLnbwevfoKOTSpQB9SJqLJrwJZ8UH6gnYdOWTvnKuioQfjT5Xos9ZylbUz0 htuo6uUiNy8NFxNLjWXsnTKqfgzJWDcmkKyEs= MIME-Version: 1.0 Received: by 10.182.160.33 with SMTP id xh1mr1960051obb.59.1330624025427; Thu, 01 Mar 2012 09:47:05 -0800 (PST) Received: by 10.182.24.4 with HTTP; Thu, 1 Mar 2012 09:47:05 -0800 (PST) In-Reply-To: <1266942189.5659.1330563958833.JavaMail.tomcat@hel.zones.apache.org> References: <1634302289.5525.1330561918875.JavaMail.tomcat@hel.zones.apache.org> <1266942189.5659.1330563958833.JavaMail.tomcat@hel.zones.apache.org> Date: Thu, 1 Mar 2012 09:47:05 -0800 Message-ID: Subject: Re: [jira] [Resolved] (CB-290) Capture API callbacks are failing From: Elizabeth Baldwin To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d0447f2665d7e8204ba320c2a X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447f2665d7e8204ba320c2a Content-Type: text/plain; charset=ISO-8859-1 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 > > > --f46d0447f2665d7e8204ba320c2a--