You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/12/05 01:55:58 UTC
[3/9] git commit: Added amazon-fireos platform.
Added amazon-fireos platform.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/4590f259
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/4590f259
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/4590f259
Branch: refs/heads/master
Commit: 4590f2597c70cd9ef73852510a8e4d0c800d6e16
Parents: 7c35f56
Author: Archana Naik <na...@lab126.com>
Authored: Fri Oct 18 10:43:26 2013 -0700
Committer: Archana Naik <na...@lab126.com>
Committed: Wed Oct 30 11:49:00 2013 -0700
----------------------------------------------------------------------
plugin.xml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/4590f259/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index b43c9ff..f441c6e 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -46,6 +46,27 @@
</platform>
+ <!-- amazon-fireos -->
+ <platform name="amazon-fireos">
+ <config-file target="res/xml/config.xml" parent="/*">
+ <feature name="Camera">
+ <param name="android-package" value="org.apache.cordova.camera.CameraLauncher"/>
+ </feature>
+ </config-file>
+ <config-file target="AndroidManifest.xml" parent="/*">
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+ </config-file>
+
+ <source-file src="src/android/CameraLauncher.java" target-dir="src/org/apache/cordova/camera" />
+ <source-file src="src/android/FileHelper.java" target-dir="src/org/apache/cordova/camera" />
+ <source-file src="src/android/ExifHelper.java" target-dir="src/org/apache/cordova/camera" />
+
+ <js-module src="www/CameraPopoverHandle.js" name="CameraPopoverHandle">
+ <clobbers target="CameraPopoverHandle" />
+ </js-module>
+
+ </platform>
+
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">