You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2013/06/13 22:57:52 UTC

[1/2] git commit: added Android permissions for recording audion/video & writing to the file system

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 <he...@gmail.com>
Authored: Tue Jun 11 12:17:29 2013 -0700
Committer: hermwong <he...@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>


[2/2] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture

Posted by he...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture


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

Branch: refs/heads/master
Commit: 47d42732fb4f98179c2516b2dfab2de4203d96c8
Parents: 717476f 92344d8
Author: hermwong <he...@gmail.com>
Authored: Thu Jun 13 13:57:41 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Thu Jun 13 13:57:41 2013 -0700

----------------------------------------------------------------------
 plugin.xml                       |  17 +
 src/wp7/Capture.cs               | 736 ++++++++++++++++++++++++++++++++++
 src/wp7/UI/AudioCaptureTask.cs   | 107 +++++
 src/wp7/UI/AudioRecorder.xaml    |  66 +++
 src/wp7/UI/AudioRecorder.xaml.cs | 306 ++++++++++++++
 src/wp7/UI/VideoCaptureTask.cs   | 105 +++++
 src/wp7/UI/VideoRecorder.xaml    |  52 +++
 src/wp7/UI/VideoRecorder.xaml.cs | 405 +++++++++++++++++++
 8 files changed, 1794 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture/blob/47d42732/plugin.xml
----------------------------------------------------------------------