-
Notifications
You must be signed in to change notification settings - Fork 10
/
plugin.xml
31 lines (31 loc) · 1.93 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-media-custom" version="0.2.0">
<name>Media Custom</name>
<description>Cordova Media Custom Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,video, editor</keywords>
<js-module src="www/MediaCustom.js" name="MediaCustom">
<clobbers target="MediaCustom" />
</js-module>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="MediaCustom">
<param name="android-package" value="com.example.android.camera2video.MediaCustom"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.CAMERA" />
<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="src/android/MediaCustom.java" target-dir="src/com/example/android/camera2video" />
<source-file src="src/android/Camera2VideoFragment.java" target-dir="src/com/example/android/camera2video" />
<resource-file src="res/layout/activity_camera.xml" target="res/layout/activity_camera.xml" />
<resource-file src="res/layout/fragment_camera2_video.xml" target="res/layout/fragment_camera2_video.xml" />
<resource-file src="res/layout-land/fragment_camera2_video.xml" target="res/layout-land/fragment_camera2_video.xml" />
<resource-file src="res/drawable/gallery.png" target="res/drawable/gallery.png" />
<resource-file src="res/drawable/record.png" target="res/drawable/record.png" />
<resource-file src="res/drawable/stop.png" target="res/drawable/stop.png" />
</platform>
</plugin>