cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [01/11] git commit: fixed cordova cli add capture plugin not work wp
Date Fri, 28 Feb 2014 21:36:26 GMT
Repository: cordova-plugin-media-capture
Updated Branches:
  refs/heads/dev 0c7941fb6 -> 648f45464


fixed cordova cli add capture plugin not work wp

1. updated feature name in plugin.xml;
2. updated navigate VideoRecorder.xaml & AudioRecorder.xaml Uri;


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/commit/0cc5aee0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/0cc5aee0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/0cc5aee0

Branch: refs/heads/dev
Commit: 0cc5aee09822179b1dcda3a9a84152377deaa785
Parents: 0774b94
Author: Yangtb <yangtb@polyvi.com>
Authored: Wed Sep 11 17:32:49 2013 +0800
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Tue Jan 7 15:14:03 2014 -0800

----------------------------------------------------------------------
 src/wp/UI/AudioCaptureTask.cs | 2 +-
 src/wp/UI/VideoCaptureTask.cs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/0cc5aee0/src/wp/UI/AudioCaptureTask.cs
----------------------------------------------------------------------
diff --git a/src/wp/UI/AudioCaptureTask.cs b/src/wp/UI/AudioCaptureTask.cs
index 9f43d23..91d5c5b 100644
--- a/src/wp/UI/AudioCaptureTask.cs
+++ b/src/wp/UI/AudioCaptureTask.cs
@@ -74,7 +74,7 @@ namespace WPCordovaClassLib.Cordova.UI
 
                 root.Navigated += new System.Windows.Navigation.NavigatedEventHandler(NavigationService_Navigated);
 
-                string baseUrl = WPCordovaClassLib.Cordova.Commands.BaseCommand.GetBaseURL();
+                string baseUrl = "/";
                 // dummy parameter is used to always open a fresh version
                 root.Navigate(new System.Uri(baseUrl + "CordovaLib/UI/AudioRecorder.xaml?dummy="
+ Guid.NewGuid().ToString(), UriKind.Relative));
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/0cc5aee0/src/wp/UI/VideoCaptureTask.cs
----------------------------------------------------------------------
diff --git a/src/wp/UI/VideoCaptureTask.cs b/src/wp/UI/VideoCaptureTask.cs
index def2a88..e3c90cf 100644
--- a/src/wp/UI/VideoCaptureTask.cs
+++ b/src/wp/UI/VideoCaptureTask.cs
@@ -74,7 +74,7 @@ namespace WPCordovaClassLib.Cordova.UI
 
                 root.Navigated += new System.Windows.Navigation.NavigatedEventHandler(NavigationService_Navigated);
 
-                string baseUrl = WPCordovaClassLib.Cordova.Commands.BaseCommand.GetBaseURL();
+                string baseUrl = "/";
                 // dummy parameter is used to always open a fresh version
                 root.Navigate(new System.Uri(baseUrl + "CordovaLib/UI/VideoRecorder.xaml?dummy="
+ Guid.NewGuid().ToString(), UriKind.Relative));
             });


Mime
View raw message