cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5054) cordova-plugin-media-capture crash on wp8
Date Wed, 16 Apr 2014 19:42:19 GMT

    [ https://issues.apache.org/jira/browse/CB-5054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13971851#comment-13971851
] 

ASF GitHub Bot commented on CB-5054:
------------------------------------

Github user klinden commented on the pull request:

    https://github.com/apache/cordova-plugin-media-capture/pull/4#issuecomment-40642869
  
    This actually wasn't fully resolved by pull request #3. The path to the xaml files is
still incorrect. It should be "Plugins/org.apache.cordova.media-capture" not "Plugins/org.apache.cordova.core.media-capture"


>  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.2#6252)

Mime
View raw message