flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Minor changes to get CordovaCameraExample to work for android again.
Date Fri, 16 Oct 2015 18:17:32 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop ad4955f3d -> 8dcd7ca94


Minor changes to get CordovaCameraExample to work for android again.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8dcd7ca9
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8dcd7ca9
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8dcd7ca9

Branch: refs/heads/develop
Commit: 8dcd7ca9427a3f9996a3cde23d16c4b6da8a3f04
Parents: ad4955f
Author: Peter Ent <pent@apache.org>
Authored: Fri Oct 16 14:17:29 2015 -0400
Committer: Peter Ent <pent@apache.org>
Committed: Fri Oct 16 14:17:29 2015 -0400

----------------------------------------------------------------------
 cordova-build.xml                                   |  1 +
 examples/flexjs/CordovaCameraExample/src/README.txt | 11 +++++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8dcd7ca9/cordova-build.xml
----------------------------------------------------------------------
diff --git a/cordova-build.xml b/cordova-build.xml
index 4d3b400..1e209b8 100644
--- a/cordova-build.xml
+++ b/cordova-build.xml
@@ -79,6 +79,7 @@
 		<!-- build the app -->
 		<exec executable="cordova" dir="${app.dir}">
 			<arg value="build" />
+			<arg value="android" />
 		</exec>
     </target>
     

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8dcd7ca9/examples/flexjs/CordovaCameraExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/src/README.txt b/examples/flexjs/CordovaCameraExample/src/README.txt
index 52d21ff..a3ebcaf 100644
--- a/examples/flexjs/CordovaCameraExample/src/README.txt
+++ b/examples/flexjs/CordovaCameraExample/src/README.txt
@@ -8,17 +8,20 @@ Go to your mobile development directory:
 %cd ~/mobile
 
 Copy into this directory, the cordova-build.xml ANT script:
-% cp ~/dev/flex-asjs/cordova-build.xml
+% cp ~/dev/flex-asjs/cordova-build.xml .
 
 Create the Cordova project for your FlexJS application:
-% ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=. -DPROJECT_DIR=/Users/home/dev/flex-asjs/examples/CordovaCameraExample/
+% ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=. -DPROJECT_DIR=/Users/home/dev/flex-asjs/examples/flexjs/CordovaCameraExample
 
 Load the Cordova camera plugin:
 cd CordovaCameraExample
-% cordova plugin add org.apache.cordova.camera
+% cordova plugin add cordova-plugin-camera
 
 Modify the www/index.html file to include the cordova.js source (place this line with the
other <script> elements):
 <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
 
 Run your app on your connected device:
-% cordova run
\ No newline at end of file
+% cordova run
+
+Or run on the simulator
+% cordova emulate android
\ No newline at end of file


Mime
View raw message