Repository: flex-asjs
Updated Branches:
  refs/heads/develop 599b6e05a -> 2fa129612


run example as an air mobile app


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

Branch: refs/heads/develop
Commit: 2fa129612cd3d340f32686145e16b65b03891e1e
Parents: 599b6e0
Author: Alex Harui <aha...@apache.org>
Authored: Tue May 6 14:25:51 2014 -0700
Committer: Alex Harui <aha...@apache.org>
Committed: Tue May 6 14:25:51 2014 -0700

----------------------------------------------------------------------
 examples/CordovaCameraExample/CordovaCameraExample-app.xml | 2 +-
 examples/CordovaCameraExample/build.xml                    | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2fa12961/examples/CordovaCameraExample/CordovaCameraExample-app.xml
----------------------------------------------------------------------
diff --git a/examples/CordovaCameraExample/CordovaCameraExample-app.xml 
b/examples/CordovaCameraExample/CordovaCameraExample-app.xml
index 27f8042..7a5ed64 100644
--- a/examples/CordovaCameraExample/CordovaCameraExample-app.xml
+++ b/examples/CordovaCameraExample/CordovaCameraExample-app.xml
@@ -134,7 +134,7 @@
        <!-- (i.e., to only mobile devices) then add this element and list -->
        <!-- only the profiles which your application does support. -->
        <!-- <supportedProfiles>desktop extendedDesktop mobileDevice 
extendedMobileDevice</supportedProfiles> -->
-       <supportedProfiles>extendedDesktop desktop</supportedProfiles>
+       <supportedProfiles>extendedDesktop desktop 
mobileDevice</supportedProfiles>
 
        <!-- The subpath of the standard default installation location to use. 
Optional. -->
        <installFolder>Apache Flex</installFolder>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/2fa12961/examples/CordovaCameraExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/CordovaCameraExample/build.xml 
b/examples/CordovaCameraExample/build.xml
index 3713c19..3179e88 100644
--- a/examples/CordovaCameraExample/build.xml
+++ b/examples/CordovaCameraExample/build.xml
@@ -69,6 +69,14 @@
         <exec executable="${AIR_HOME}/bin/${adl}" dir="${basedir}/bin-debug" 
failonerror="true">
             <arg value="-runtime" />
             <arg value="${AIR_HOME}/runtimes/air/${runtime}" />
+            <arg value="-screensize" />
+            <arg value="640x960:640x960" />
+            <arg value="-profile" />
+            <arg value="mobileDevice" />
+            <arg value="-XscreenDPI" />
+            <arg value="240" />
+            <arg value="-XversionPlatform" />
+            <arg value="AND" />
             <arg value="${basedir}/bin-debug/${example}-app.xml" />
         </exec>
     </target>

Reply via email to