[
https://issues.apache.org/jira/browse/CB-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve updated CB-5054:
------------------------------
Assignee: Jesse MacFadyen
> 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#6144)