cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hermw...@apache.org
Subject [1/2] git commit: added Android permissions for recording audion/video & writing to the file system
Date Thu, 13 Jun 2013 20:57:52 GMT
Updated Branches:
  refs/heads/master 92344d815 -> 47d42732f


added Android permissions for recording audion/video & writing to the file system


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/717476f7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/tree/717476f7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/diff/717476f7

Branch: refs/heads/master
Commit: 717476f7aa39f881a5234fc1b55f13a06ac82838
Parents: 41691a3
Author: hermwong <herm.wong@gmail.com>
Authored: Tue Jun 11 12:17:29 2013 -0700
Committer: hermwong <herm.wong@gmail.com>
Committed: Tue Jun 11 12:17:29 2013 -0700

----------------------------------------------------------------------
 plugin.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/717476f7/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 4564d95..45f75c5 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -39,6 +39,12 @@ id="org.apache.cordova.core.Capture"
         <config-file target="res/xml/config.xml" parent="/cordova/plugins">
             <plugin name="Capture" value="org.apache.cordova.core.Capture"/>
         </config-file>
+        
+        <config-file target="AndroidManifest.xml" parent="/*">
+            <uses-permission android:name="android.permission.RECORD_AUDIO" />
+            <uses-permission android:name="android.permission.RECORD_VIDEO"/>
+            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
+        </config-file>
 
         <source-file src="Capture.java" target-dir="org/apache/cordova/core" />
     </platform>


Mime
View raw message