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"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2013-05-23 05:06:19 +08:00
|
|
|
id="org.apache.cordova.core.CameraLauncher"
|
2013-04-02 06:35:43 +08:00
|
|
|
version="0.1.0">
|
|
|
|
<name>Camera</name>
|
|
|
|
|
2013-05-23 04:47:10 +08:00
|
|
|
<js-module src="www/CameraConstants.js" name="camera">
|
|
|
|
<clobbers target="window.camera" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
<js-module src="www/CameraPopoverOptions.js" name="camera">
|
|
|
|
<clobbers target="window.camera" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
<js-module src="www/Camera.js" name="camera">
|
|
|
|
<clobbers target="navigator.camera" />
|
|
|
|
</js-module>
|
|
|
|
|
2013-04-02 06:35:43 +08:00
|
|
|
<!-- android -->
|
|
|
|
<platform name="android">
|
|
|
|
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
|
2013-05-23 05:13:38 +08:00
|
|
|
<plugin name="Camera" value="org.apache.cordova.core"/>
|
2013-04-02 06:35:43 +08:00
|
|
|
</config-file>
|
|
|
|
|
|
|
|
<source-file src="CameraLauncher.java" target-dir="org/apache/cordova/core" />
|
2013-05-23 04:47:10 +08:00
|
|
|
</platform>
|
|
|
|
|
|
|
|
<!-- ios -->
|
|
|
|
<platform name="ios">
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Camera">
|
|
|
|
<param name="ios-package" value="CDVCamera" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
<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-04-02 06:35:43 +08:00
|
|
|
</plugin>
|