2013-04-02 06:35:43 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
|
2013-06-29 06:35:55 +08:00
|
|
|
id="org.apache.cordova.core.camera"
|
|
|
|
version="0.1.0">
|
2013-04-02 06:35:43 +08:00
|
|
|
<name>Camera</name>
|
2013-07-10 02:38:37 +08:00
|
|
|
|
2013-05-24 05:51:18 +08:00
|
|
|
<js-module src="www/CameraConstants.js" name="Camera">
|
2013-06-14 05:43:56 +08:00
|
|
|
<clobbers target="Camera" />
|
2013-05-23 04:47:10 +08:00
|
|
|
</js-module>
|
2013-05-24 05:51:18 +08:00
|
|
|
|
2013-07-10 02:38:37 +08:00
|
|
|
<js-module src="www/CameraPopoverOptions.js" name="CameraPopoverOptions">
|
|
|
|
<clobbers target="CameraPopoverOptions" />
|
|
|
|
</js-module>
|
2013-05-24 05:51:18 +08:00
|
|
|
|
2013-06-14 05:43:56 +08:00
|
|
|
<js-module src="www/Camera.js" name="camera">
|
|
|
|
<clobbers target="navigator.camera" />
|
2013-05-24 10:24:43 +08:00
|
|
|
</js-module>
|
2013-07-10 02:38:37 +08:00
|
|
|
|
2013-04-02 06:35:43 +08:00
|
|
|
<!-- android -->
|
|
|
|
<platform name="android">
|
2013-05-24 05:51:18 +08:00
|
|
|
<config-file target="res/xml/config.xml" parent="/*">
|
2013-05-24 10:22:57 +08:00
|
|
|
<feature name="Camera">
|
|
|
|
<param name="android-package" value="org.apache.cordova.core.CameraLauncher"/>
|
2013-05-24 05:51:18 +08:00
|
|
|
</feature>
|
2013-04-02 06:35:43 +08:00
|
|
|
</config-file>
|
2013-06-18 06:47:34 +08:00
|
|
|
<config-file target="AndroidManifest.xml" parent="/*">
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
</config-file>
|
2013-04-02 06:35:43 +08:00
|
|
|
|
2013-05-24 05:51:18 +08:00
|
|
|
<source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/core" />
|
2013-06-29 08:24:53 +08:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-10 02:38:37 +08:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-29 08:24:53 +08:00
|
|
|
</js-module>
|
|
|
|
|
2013-05-23 04:47:10 +08:00
|
|
|
</platform>
|
|
|
|
|
|
|
|
<!-- ios -->
|
|
|
|
<platform name="ios">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
2013-05-24 10:22:57 +08:00
|
|
|
<param name="ios-package" value="CDVCamera" />
|
2013-05-23 04:47:10 +08:00
|
|
|
</feature>
|
|
|
|
</config-file>
|
2013-06-14 05:43:56 +08:00
|
|
|
|
2013-07-10 02:38:37 +08:00
|
|
|
<js-module src="www/ios/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
|
|
|
<clobbers target="CameraPopoverHandle" />
|
|
|
|
</js-module>
|
2013-05-24 05:51:18 +08:00
|
|
|
|
2013-05-23 04:47:10 +08:00
|
|
|
<header-file src="src/ios/CDVCamera.h" />
|
|
|
|
<source-file src="src/ios/CDVCamera.m" />
|
|
|
|
<header-file src="src/ios/CDVJpegHeaderWriter.h" />
|
|
|
|
<source-file src="src/ios/CDVJpegHeaderWriter.m" />
|
|
|
|
<header-file src="src/ios/CDVExif.h" />
|
|
|
|
</platform>
|
2013-06-08 02:37:25 +08:00
|
|
|
|
2013-06-22 05:16:01 +08:00
|
|
|
<!-- blackberry10 -->
|
|
|
|
<platform name="blackberry10">
|
|
|
|
<source-file src="src/blackberry10/index.js" target-dir="Camera" />
|
|
|
|
<config-file target="www/config.xml" parent="/widget">
|
|
|
|
<feature name="Camera" value="Camera"/>
|
|
|
|
</config-file>
|
2013-06-29 08:24:53 +08:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-10 02:38:37 +08:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-29 08:24:53 +08:00
|
|
|
</js-module>
|
2013-06-22 05:16:01 +08:00
|
|
|
</platform>
|
|
|
|
|
2013-06-08 02:37:25 +08:00
|
|
|
<!-- wp7 -->
|
|
|
|
<platform name="wp7">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="wp-package" value="Camera"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
2013-06-15 04:48:23 +08:00
|
|
|
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
|
|
|
|
<Capability Name="ID_CAP_ISV_CAMERA" />
|
|
|
|
</config-file>
|
|
|
|
|
2013-07-09 05:50:18 +08:00
|
|
|
<source-file src="src/wp/Camera.cs" />
|
2013-07-09 05:53:49 +08:00
|
|
|
|
2013-06-29 08:24:53 +08:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-10 02:38:37 +08:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-29 08:24:53 +08:00
|
|
|
</js-module>
|
2013-06-08 02:37:25 +08:00
|
|
|
</platform>
|
2013-06-25 05:11:43 +08:00
|
|
|
|
|
|
|
<!-- wp8 -->
|
|
|
|
<platform name="wp8">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="wp-package" value="Camera"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
|
|
|
|
<Capability Name="ID_CAP_ISV_CAMERA" />
|
|
|
|
</config-file>
|
|
|
|
|
2013-07-09 05:50:18 +08:00
|
|
|
<source-file src="src/wp/Camera.cs" />
|
2013-06-29 08:24:53 +08:00
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
|
2013-07-10 02:38:37 +08:00
|
|
|
<clobbers target="CameraPopoverHandle" />
|
2013-06-29 08:24:53 +08:00
|
|
|
</js-module>
|
2013-06-25 05:11:43 +08:00
|
|
|
</platform>
|
2013-05-23 04:47:10 +08:00
|
|
|
|
2013-04-02 06:35:43 +08:00
|
|
|
</plugin>
|