You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2013/10/07 23:18:43 UTC
[jira] [Commented] (CB-4720) use Cordova CLI create WP8 template
project, add plugin cordova-plugin-media-capture! there is a crash!
[ https://issues.apache.org/jira/browse/CB-4720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788586#comment-13788586 ]
Steve Gill commented on CB-4720:
--------------------------------
Hey TianBo,
Why are you modifying the config.xml file and adding media capture? All plugin related changes to config.xml occur automatically when you install the plugin.
> use Cordova CLI create WP8 template project, add plugin cordova-plugin-media-capture! there is a crash!
> -------------------------------------------------------------------------------------------------------
>
> Key: CB-4720
> URL: https://issues.apache.org/jira/browse/CB-4720
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media Capture
> Affects Versions: 3.0.0
> Environment: win8+vs2012+windows phone8
> Reporter: TianBo Yang
> Assignee: Steve Gill
> Priority: Critical
> Labels: plugin-media-capture
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> use Cordova CLI create WP8 template project, add plugin cordova-plugin-media-capture. i modify config.xml add Capture config.
> <feature name="Capture">
> <param name="wp-package" value="Capture" />
> </feature>
> 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
> i guess this crash is cause by Navigate uri can't found!
> i hope you can fix this problem qucikly! thanks !
--
This message was sent by Atlassian JIRA
(v6.1#6144)