Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8EFB10766 for ; Tue, 7 Jan 2014 23:29:55 +0000 (UTC) Received: (qmail 4292 invoked by uid 500); 7 Jan 2014 23:29:55 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 4279 invoked by uid 500); 7 Jan 2014 23:29:55 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 4271 invoked by uid 99); 7 Jan 2014 23:29:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 23:29:55 +0000 Date: Tue, 7 Jan 2014 23:29:55 +0000 (UTC) From: "Jesse MacFadyen (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CB-5054) cordova-plugin-media-capture crash on wp8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen resolved CB-5054. --------------------------------- Resolution: Fixed > cordova-plugin-media-capture crash on wp8 > ------------------------------------------ > > Key: CB-5054 > URL: https://issues.apache.org/jira/browse/CB-5054 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture, WP7, WP8 > Affects Versions: 3.0.0 > Environment: wp8+vs2012 > Reporter: TianBo Yang > Assignee: Jesse MacFadyen > Priority: Critical > Labels: cordova-plugin-media-capture, wp8 > > 1.use Cordova CLI create WP8 template project, add plugin cordova-plugin-media-capture. > 2.then add the captureAudio Example.html(http://cordova.apache.org/docs/en/3.0.0/cordova_media_capture_capture.md.html#Capture) > when i run this project, click "CaptureAudio" there is a carsh. > i debug in vs2012,there is the exception log! > stackTrace: > at System.Windows.Navigation.NavigationService.Navigate(Uri source) > uri: > {./CordovaLib/UI/AudioRecorder.xaml?dummy=bc51b4bf-8798-46ee-a2a6-cad51bd23401} > exception msg: > Navigation is only supported to relative URIs that are fragments, or begin with '/', or which contain ';component/'. > Parameter name: uri > it's also crash, when excute "CaptureVideo" ! > there is the crash reason caused crash, bad navigate uri. > AudioCaptureTask.cs line 79 > root.Navigate(new System.Uri(baseUrl + "CordovaLib/UI/AudioRecorder.xaml?dummy=" + Guid.NewGuid().ToString(), UriKind.Relative)); > VideoCaptureTask.cs line 79. > root.Navigate(new System.Uri(baseUrl + "CordovaLib/UI/VideoRecorder.xaml?dummy=" + Guid.NewGuid().ToString(), UriKind.Relative)); -- This message was sent by Atlassian JIRA (v6.1.5#6160)