You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2012/06/28 00:45:49 UTC

webworks commit: Adding in microphone permission/feature to config

Updated Branches:
  refs/heads/master 262cb80a4 -> a03c2e8cd


Adding in microphone permission/feature to config


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/commit/a03c2e8c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/a03c2e8c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/a03c2e8c

Branch: refs/heads/master
Commit: a03c2e8cd7dfeafccfbbdb50e7db6dde2fac25ba
Parents: 262cb80
Author: Tim Kim <ti...@nitobi.com>
Authored: Wed Jun 27 15:45:44 2012 -0700
Committer: Tim Kim <ti...@nitobi.com>
Committed: Wed Jun 27 15:45:44 2012 -0700

----------------------------------------------------------------------
 bin/templates/project/www/config.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/a03c2e8c/bin/templates/project/www/config.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/config.xml b/bin/templates/project/www/config.xml
index b210573..c82398e 100644
--- a/bin/templates/project/www/config.xml
+++ b/bin/templates/project/www/config.xml
@@ -51,7 +51,8 @@
   <feature id="blackberry.widgetcache" required="true" version="1.0.0.0"/>
   <feature id="blackberry.media.camera" />
   <feature id="blackberry.ui.dialog" />
-
+  <feature id="blackberry.media.microphone" required="true" version="1.0.0.0"/>
+  
   <!-- Cordova API -->
   <access subdomains="true" uri="file:///store/home" />
   <access subdomains="true" uri="file:///SDCard" />
@@ -75,6 +76,7 @@
     <rim:permit>read_device_identifying_information</rim:permit>
     <rim:permit>access_shared</rim:permit>
     <rim:permit>read_geolocation</rim:permit>
+    <rim:permit>record_audio</rim:permit> 
   </rim:permissions>
 
 </widget>