You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2013/07/16 02:52:46 UTC
git commit: [wp] added beep.wav to dialog src
Updated Branches:
refs/heads/master fd2d76cc3 -> b24456c01
[wp] added beep.wav to dialog src
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/b24456c0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/b24456c0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/b24456c0
Branch: refs/heads/master
Commit: b24456c01c0d02170de4f4c50846fa488f60fc03
Parents: fd2d76c
Author: Benn Mapes <be...@gmail.com>
Authored: Mon Jul 15 17:52:17 2013 -0700
Committer: Benn Mapes <be...@gmail.com>
Committed: Mon Jul 15 17:52:17 2013 -0700
----------------------------------------------------------------------
plugin.xml | 2 ++
src/wp/Notification.cs | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/b24456c0/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 8ee7f4a..cd52056 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -59,6 +59,7 @@
<source-file src="src/wp/Notification.cs" />
<source-file src="src/wp/NotificationBox.xaml.cs" />
<source-file src="src/wp/NotificationBox.xaml" />
+ <source-file src="src/wp/notification-beep.wav" />
</platform>
<!-- wp8 -->
@@ -72,6 +73,7 @@
<source-file src="src/wp/Notification.cs" />
<source-file src="src/wp/NotificationBox.xaml.cs" />
<source-file src="src/wp/NotificationBox.xaml" />
+ <source-file src="src/wp/notification-beep.wav" />
</platform>
</plugin>
http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/b24456c0/src/wp/Notification.cs
----------------------------------------------------------------------
diff --git a/src/wp/Notification.cs b/src/wp/Notification.cs
index ce93f55..14c54a9 100644
--- a/src/wp/Notification.cs
+++ b/src/wp/Notification.cs
@@ -252,7 +252,7 @@ namespace WPCordovaClassLib.Cordova.Commands
string[] args = JSON.JsonHelper.Deserialize<string[]>(options);
int times = int.Parse(args[0]);
- string resourcePath = BaseCommand.GetBaseURL() + "resources/notification-beep.wav";
+ string resourcePath = BaseCommand.GetBaseURL() + "Plugins/org.apache.cordova.core.dialogs/notification-beep.wav";
StreamResourceInfo sri = Application.GetResourceStream(new Uri(resourcePath, UriKind.Relative));