cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [7/9] git commit: added ubuntu support
Date Thu, 05 Dec 2013 00:58:21 GMT
added ubuntu support


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/fee10fb6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/fee10fb6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/fee10fb6

Branch: refs/heads/master
Commit: fee10fb6d8d4db50a5ae5352bfee08329233856b
Parents: 4c259e7 4219ef3
Author: Steven Gill <stevengill97@gmail.com>
Authored: Mon Dec 2 16:12:45 2013 -0800
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Mon Dec 2 16:12:45 2013 -0800

----------------------------------------------------------------------
 plugin.xml                   |   6 +
 src/ubuntu/file-transfer.cpp | 247 ++++++++++++++++++++++++++++++++++++++
 src/ubuntu/file-transfer.h   |  97 +++++++++++++++
 3 files changed, 350 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/fee10fb6/plugin.xml
----------------------------------------------------------------------
diff --cc plugin.xml
index 7513bb0,c9a2019..34371bb
--- a/plugin.xml
+++ b/plugin.xml
@@@ -37,23 -35,12 +37,29 @@@
          <source-file src="src/android/FileUploadResult.java" target-dir="src/org/apache/cordova/filetransfer"
/>
      </platform>
  
 +    <!-- amamzon-fireos -->
 +    <platform name="amazon-fireos">
 +        <config-file target="res/xml/config.xml" parent="/*">
 +            <feature name="FileTransfer" >
 +                <param name="android-package" value="org.apache.cordova.filetransfer.FileTransfer"/>
 +            </feature>
 +        </config-file>
 +
 +        <config-file target="AndroidManifest.xml" parent="/*">
 +            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
 +        </config-file>
 +
 +        <source-file src="src/amazon/FileTransfer.java" target-dir="src/org/apache/cordova/filetransfer"
/>
 +        <source-file src="src/android/FileProgressResult.java" target-dir="src/org/apache/cordova/filetransfer"
/>
 +        <source-file src="src/android/FileUploadResult.java" target-dir="src/org/apache/cordova/filetransfer"
/>
 +    </platform>
 +    
+     <!-- ubuntu -->
+     <platform name="ubuntu">
+         <header-file src="src/ubuntu/file-transfer.h" />
+         <source-file src="src/ubuntu/file-transfer.cpp" />
+     </platform>
+ 
      <platform name="blackberry10">
          <config-file target="www/config.xml" parent="/widget">
              <feature name="FileTransfer" value="FileTransfer"></feature>


Mime
View raw message