You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Tom Brazil <tb...@axway.com> on 2015/11/04 08:39:43 UTC

Question about Flexjs and Mobile

I have seen the examples for Flexjs for desktop, which are nice. Do you have any examples for mobile yet?
Looking forward to the upcoming beta.

Tom


RE: Question about Flexjs and Mobile

Posted by Tom Brazil <tb...@axway.com>.
Thanks, everyone.
Moving forward.


-----Original Message-----
From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash Muppirala
Sent: Wednesday, November 04, 2015 2:24 PM
To: users@flex.apache.org
Subject: Re: Question about Flexjs and Mobile

Potentially, we can run
1. the flash version on AIR
2. the HTML version on AIR via StageWebView 3.  the HTML version on Phonegap

One way or the other, mobile support will be there :-)

Thanks,
Om

On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:

> Hi,
>
> We have the MobileTrader example in the flex-asjs/examples/flexjs 
> directory. This demonstrates the initial Mobile package. This will run 
> on the desktop, but if you deploy it to your phone using Apache 
> Cordova, it will work there, too - iOS and Android.
>
> Peter Ent
> Adobe Systems
>
> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>
> >I have seen the examples for Flexjs for desktop, which are nice. Do 
> >you have any examples for mobile yet?
> >Looking forward to the upcoming beta.
> >
> >Tom
> >
>
>

Re: Question about Flexjs and Mobile

Posted by Alex Harui <ah...@adobe.com>.

On 11/8/15, 8:33 AM, "Tom Brazil" <tb...@axway.com> wrote:

>Alex,
>
>I just went through the process again for 0.5.0 latest.
>
>This time, for whatever reason, I have absolutely no issues with
>flashbuilder itself.
>FlashBuilder had weird errors the first time with 0.5.0. - I must have
>been missing something or did something wrong.
>Following the instructions in the readme for the binary dist worked
>perfect.
>
>Running ant examples , however, I see:
>SEVERE: ERROR - Cannot read:
>C:\ApacheFlex\apache-flex-flexjs-0.5.0-bin\frameworks\js\FlexJS\libs\jquer
>y_externals.js
>
>That directory does not exist in the 0.5.0 build. I don't know if the sdk
>build.xml was supposed to change to the js\externs directory, and this is
>left over from some earlier build?

Thanks for pointing that out.  To be honest, I haven’t paid too much
attention to using ant to build the examples from an installed FlexJS SDK.
 I usually test a few of those examples just by running MXML on the .mxml
file, although it could be that the examples that use Jquery won’t work.

We have enough votes to release 0.5.0, so I think we will and address this
issue for the next release.

Thanks,
-Alex


RE: Question about Flexjs and Mobile

Posted by Tom Brazil <tb...@axway.com>.
Alex,

I just went through the process again for 0.5.0 latest.

This time, for whatever reason, I have absolutely no issues with flashbuilder itself.
FlashBuilder had weird errors the first time with 0.5.0. - I must have been missing something or did something wrong.
Following the instructions in the readme for the binary dist worked perfect.

Running ant examples , however, I see:
SEVERE: ERROR - Cannot read: C:\ApacheFlex\apache-flex-flexjs-0.5.0-bin\frameworks\js\FlexJS\libs\jquery_externals.js

That directory does not exist in the 0.5.0 build. I don't know if the sdk build.xml was supposed to change to the js\externs directory, and this is left over from some earlier build?

This happens in multiple builds for "ant examples", but the result of ALL builds shows success. It may be misleading people to think that all examples build ok.

Regards,


-----Original Message-----
From: Tom Brazil 
Sent: Sunday, November 08, 2015 9:47 AM
To: users@flex.apache.org
Subject: RE: Question about Flexjs and Mobile

I will start from scratch to try to recreate the situation today with the latest RC.
I will keep you posted.
Tom


-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Sunday, November 08, 2015 8:52 AM
To: users@flex.apache.org
Subject: Re: Question about Flexjs and Mobile

Hey Tom,

This is still the best news I’ve had all weekend, but now my curiosity is up about what issues you had with the 0.5.0 RC1.  I don’t think I’m making any changes for FalconJX RC2 that would address any issues here.

If you have time, can you provide more detail?

Thanks,
-Alex

On 11/7/15, 10:16 PM, "Alex Harui" <ah...@adobe.com> wrote:

>Hi Tom,
>
>That’s great news!
>
>Thanks,
>-Alex
>
>On 11/7/15, 12:50 PM, "Tom Brazil" <tb...@axway.com> wrote:
>
>>After some experimentation, I could not get the RC1 0.5.0 candidate to 
>>work properly.
>>Following your threads on the RC1, I think I know why, so I moved on 
>>to the 0.0.2 alpha to learn the fundamentals.
>>
>>I have success to report:
>>
>>1) I installed PhoneGap Desktop and created the CordovaCameraExample 
>>project (just structure, nothing in it).
>>2) I installed PhoneGap Developer on the iPad-2 from iTunes
>>3) I installed cordova via npm
>>4) I was able to build the flexjs 0.0.2 alpha and use that SDK (after 
>>ant
>>install) for FlashBuilder 4.7 (launch of falcon compiles example 
>>projects properly, except cordova).
>>5) I followed the readme for the cordova example and did the 
>>command-line instead
>> --> On a windows box, the cordova-build.xml needs to be edited so 
>> --> that
>>"cordova" is not executed, but cmd.exe executes cordova:
>>
>>Examples:
>>
>>    <target name="create" unless="app.dir.exists">
>>    	<!-- create the project -->
>>		<exec executable="cmd.exe" dir="${target.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="create" />
>>			<arg value="${project.name}" />
>>			<arg value="org.apache.flex.mobile" />
>>			<arg value="${project.name}" />
>>		</exec>
>>
>>		<!-- add in the platforms -->
>>		<exec executable="cmd.exe" dir="${app.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="platform" />
>>			<arg value="add" />
>>			<arg value="iOS" />
>>		</exec>
>>    </target>
>> ...
>>    <target name="build" depends="copyfiles">
>>		<!-- build the app -->
>>		<exec executable="cmd.exe" dir="${app.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="build" />
>>		</exec>
>>    </target>
>>
>>6) This command worked from the PhoneGap created "CordovaCameraExample"
>>project directory:
>>
>>ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample
>>-DTARGET_DIR=C:\Users\tom\CordovaProjects\CordovaCameraExample
>>-DPROJECT_DIR=C: 
>>\ApacheFlex\apache-flex-flexjs-0.0.2-bin\examples\CordovaCameraExample
>>\
>>
>>All I had to do at that completed was click the "Start/Play" button on 
>>the PhoneGap desktop UI for that project, and on the iPad2 run the 
>>PhoneGap Developer app, click Connect, and voila!
>>The CordovaCameraExample app was running on the iPad2! How freaking 
>>cool is that????
>>
>>So, I took a picture of myself through the app I just deployed on the 
>>iPad, smiling at success, and mailed it to my team.
>>
>>I would like to thank Alex and team for their tireless work on Flexjs. 
>>I am not sure people realize how incredible Flexjs will be when used 
>>with rapid test/deployment platforms like Cordova/PhoneGap.
>>
>>Now that I have this all figured out I am looking forward to the RC 
>>being released so I can build a great app -- and using phoneGap deploy 
>>for all target platforms rapidly.
>>
>>Thanks again,
>>
>>Tom
>>
>>-----Original Message-----
>>From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of 
>>OmPrakash Muppirala
>>Sent: Wednesday, November 04, 2015 2:24 PM
>>To: users@flex.apache.org
>>Subject: Re: Question about Flexjs and Mobile
>>
>>Potentially, we can run
>>1. the flash version on AIR
>>2. the HTML version on AIR via StageWebView 3.  the HTML version on 
>>Phonegap
>>
>>One way or the other, mobile support will be there :-)
>>
>>Thanks,
>>Om
>>
>>On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:
>>
>>> Hi,
>>>
>>> We have the MobileTrader example in the flex-asjs/examples/flexjs 
>>> directory. This demonstrates the initial Mobile package. This will 
>>> run on the desktop, but if you deploy it to your phone using Apache 
>>> Cordova, it will work there, too - iOS and Android.
>>>
>>> Peter Ent
>>> Adobe Systems
>>>
>>> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>>>
>>> >I have seen the examples for Flexjs for desktop, which are nice. Do 
>>> >you have any examples for mobile yet?
>>> >Looking forward to the upcoming beta.
>>> >
>>> >Tom
>>> >
>>>
>>>
>


RE: Question about Flexjs and Mobile

Posted by Tom Brazil <tb...@axway.com>.
I will start from scratch to try to recreate the situation today with the latest RC.
I will keep you posted.
Tom


-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Sunday, November 08, 2015 8:52 AM
To: users@flex.apache.org
Subject: Re: Question about Flexjs and Mobile

Hey Tom,

This is still the best news I’ve had all weekend, but now my curiosity is up about what issues you had with the 0.5.0 RC1.  I don’t think I’m making any changes for FalconJX RC2 that would address any issues here.

If you have time, can you provide more detail?

Thanks,
-Alex

On 11/7/15, 10:16 PM, "Alex Harui" <ah...@adobe.com> wrote:

>Hi Tom,
>
>That’s great news!
>
>Thanks,
>-Alex
>
>On 11/7/15, 12:50 PM, "Tom Brazil" <tb...@axway.com> wrote:
>
>>After some experimentation, I could not get the RC1 0.5.0 candidate to 
>>work properly.
>>Following your threads on the RC1, I think I know why, so I moved on 
>>to the 0.0.2 alpha to learn the fundamentals.
>>
>>I have success to report:
>>
>>1) I installed PhoneGap Desktop and created the CordovaCameraExample 
>>project (just structure, nothing in it).
>>2) I installed PhoneGap Developer on the iPad-2 from iTunes
>>3) I installed cordova via npm
>>4) I was able to build the flexjs 0.0.2 alpha and use that SDK (after 
>>ant
>>install) for FlashBuilder 4.7 (launch of falcon compiles example 
>>projects properly, except cordova).
>>5) I followed the readme for the cordova example and did the 
>>command-line instead
>> --> On a windows box, the cordova-build.xml needs to be edited so 
>> --> that
>>"cordova" is not executed, but cmd.exe executes cordova:
>>
>>Examples:
>>
>>    <target name="create" unless="app.dir.exists">
>>    	<!-- create the project -->
>>		<exec executable="cmd.exe" dir="${target.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="create" />
>>			<arg value="${project.name}" />
>>			<arg value="org.apache.flex.mobile" />
>>			<arg value="${project.name}" />
>>		</exec>
>>
>>		<!-- add in the platforms -->
>>		<exec executable="cmd.exe" dir="${app.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="platform" />
>>			<arg value="add" />
>>			<arg value="iOS" />
>>		</exec>
>>    </target>
>> ...
>>    <target name="build" depends="copyfiles">
>>		<!-- build the app -->
>>		<exec executable="cmd.exe" dir="${app.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="build" />
>>		</exec>
>>    </target>
>>
>>6) This command worked from the PhoneGap created "CordovaCameraExample"
>>project directory:
>>
>>ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample
>>-DTARGET_DIR=C:\Users\tom\CordovaProjects\CordovaCameraExample
>>-DPROJECT_DIR=C: 
>>\ApacheFlex\apache-flex-flexjs-0.0.2-bin\examples\CordovaCameraExample
>>\
>>
>>All I had to do at that completed was click the "Start/Play" button on 
>>the PhoneGap desktop UI for that project, and on the iPad2 run the 
>>PhoneGap Developer app, click Connect, and voila!
>>The CordovaCameraExample app was running on the iPad2! How freaking 
>>cool is that????
>>
>>So, I took a picture of myself through the app I just deployed on the 
>>iPad, smiling at success, and mailed it to my team.
>>
>>I would like to thank Alex and team for their tireless work on Flexjs. 
>>I am not sure people realize how incredible Flexjs will be when used 
>>with rapid test/deployment platforms like Cordova/PhoneGap.
>>
>>Now that I have this all figured out I am looking forward to the RC 
>>being released so I can build a great app -- and using phoneGap deploy 
>>for all target platforms rapidly.
>>
>>Thanks again,
>>
>>Tom
>>
>>-----Original Message-----
>>From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of 
>>OmPrakash Muppirala
>>Sent: Wednesday, November 04, 2015 2:24 PM
>>To: users@flex.apache.org
>>Subject: Re: Question about Flexjs and Mobile
>>
>>Potentially, we can run
>>1. the flash version on AIR
>>2. the HTML version on AIR via StageWebView 3.  the HTML version on 
>>Phonegap
>>
>>One way or the other, mobile support will be there :-)
>>
>>Thanks,
>>Om
>>
>>On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:
>>
>>> Hi,
>>>
>>> We have the MobileTrader example in the flex-asjs/examples/flexjs 
>>> directory. This demonstrates the initial Mobile package. This will 
>>> run on the desktop, but if you deploy it to your phone using Apache 
>>> Cordova, it will work there, too - iOS and Android.
>>>
>>> Peter Ent
>>> Adobe Systems
>>>
>>> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>>>
>>> >I have seen the examples for Flexjs for desktop, which are nice. Do 
>>> >you have any examples for mobile yet?
>>> >Looking forward to the upcoming beta.
>>> >
>>> >Tom
>>> >
>>>
>>>
>


Re: Question about Flexjs and Mobile

Posted by Alex Harui <ah...@adobe.com>.
Hey Tom,

This is still the best news I’ve had all weekend, but now my curiosity is
up about what issues you had with the 0.5.0 RC1.  I don’t think I’m making
any changes for FalconJX RC2 that would address any issues here.

If you have time, can you provide more detail?

Thanks,
-Alex

On 11/7/15, 10:16 PM, "Alex Harui" <ah...@adobe.com> wrote:

>Hi Tom,
>
>That’s great news!
>
>Thanks,
>-Alex
>
>On 11/7/15, 12:50 PM, "Tom Brazil" <tb...@axway.com> wrote:
>
>>After some experimentation, I could not get the RC1 0.5.0 candidate to
>>work properly.
>>Following your threads on the RC1, I think I know why, so I moved on to
>>the 0.0.2 alpha to learn the fundamentals.
>>
>>I have success to report:
>>
>>1) I installed PhoneGap Desktop and created the CordovaCameraExample
>>project (just structure, nothing in it).
>>2) I installed PhoneGap Developer on the iPad-2 from iTunes
>>3) I installed cordova via npm
>>4) I was able to build the flexjs 0.0.2 alpha and use that SDK (after ant
>>install) for FlashBuilder 4.7 (launch of falcon compiles example projects
>>properly, except cordova).
>>5) I followed the readme for the cordova example and did the command-line
>>instead
>> --> On a windows box, the cordova-build.xml needs to be edited so that
>>"cordova" is not executed, but cmd.exe executes cordova:
>>
>>Examples:
>>
>>    <target name="create" unless="app.dir.exists">
>>    	<!-- create the project -->
>>		<exec executable="cmd.exe" dir="${target.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="create" />
>>			<arg value="${project.name}" />
>>			<arg value="org.apache.flex.mobile" />
>>			<arg value="${project.name}" />
>>		</exec>
>>
>>		<!-- add in the platforms -->
>>		<exec executable="cmd.exe" dir="${app.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="platform" />
>>			<arg value="add" />
>>			<arg value="iOS" />
>>		</exec>
>>    </target>
>> ...
>>    <target name="build" depends="copyfiles">
>>		<!-- build the app -->
>>		<exec executable="cmd.exe" dir="${app.dir}">
>>			<arg value="/C"/>
>>			<arg value="cordova"/>
>>			<arg value="build" />
>>		</exec>
>>    </target>
>>
>>6) This command worked from the PhoneGap created "CordovaCameraExample"
>>project directory:
>>
>>ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample
>>-DTARGET_DIR=C:\Users\tom\CordovaProjects\CordovaCameraExample
>>-DPROJECT_DIR=C: 
>>\ApacheFlex\apache-flex-flexjs-0.0.2-bin\examples\CordovaCameraExample\
>>
>>All I had to do at that completed was click the "Start/Play" button on
>>the PhoneGap desktop UI for that project, and on the iPad2 run the
>>PhoneGap Developer app, click Connect, and voila!
>>The CordovaCameraExample app was running on the iPad2! How freaking cool
>>is that????
>>
>>So, I took a picture of myself through the app I just deployed on the
>>iPad, smiling at success, and mailed it to my team.
>>
>>I would like to thank Alex and team for their tireless work on Flexjs. I
>>am not sure people realize how incredible Flexjs will be when used with
>>rapid test/deployment platforms like Cordova/PhoneGap.
>>
>>Now that I have this all figured out I am looking forward to the RC being
>>released so I can build a great app -- and using phoneGap deploy for all
>>target platforms rapidly.
>>
>>Thanks again,
>>
>>Tom
>>
>>-----Original Message-----
>>From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash
>>Muppirala
>>Sent: Wednesday, November 04, 2015 2:24 PM
>>To: users@flex.apache.org
>>Subject: Re: Question about Flexjs and Mobile
>>
>>Potentially, we can run
>>1. the flash version on AIR
>>2. the HTML version on AIR via StageWebView 3.  the HTML version on
>>Phonegap
>>
>>One way or the other, mobile support will be there :-)
>>
>>Thanks,
>>Om
>>
>>On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:
>>
>>> Hi,
>>>
>>> We have the MobileTrader example in the flex-asjs/examples/flexjs
>>> directory. This demonstrates the initial Mobile package. This will run
>>> on the desktop, but if you deploy it to your phone using Apache
>>> Cordova, it will work there, too - iOS and Android.
>>>
>>> Peter Ent
>>> Adobe Systems
>>>
>>> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>>>
>>> >I have seen the examples for Flexjs for desktop, which are nice. Do
>>> >you have any examples for mobile yet?
>>> >Looking forward to the upcoming beta.
>>> >
>>> >Tom
>>> >
>>>
>>>
>


Re: Question about Flexjs and Mobile

Posted by Alex Harui <ah...@adobe.com>.
Hi Tom,

That’s great news!

Thanks,
-Alex

On 11/7/15, 12:50 PM, "Tom Brazil" <tb...@axway.com> wrote:

>After some experimentation, I could not get the RC1 0.5.0 candidate to
>work properly.
>Following your threads on the RC1, I think I know why, so I moved on to
>the 0.0.2 alpha to learn the fundamentals.
>
>I have success to report:
>
>1) I installed PhoneGap Desktop and created the CordovaCameraExample
>project (just structure, nothing in it).
>2) I installed PhoneGap Developer on the iPad-2 from iTunes
>3) I installed cordova via npm
>4) I was able to build the flexjs 0.0.2 alpha and use that SDK (after ant
>install) for FlashBuilder 4.7 (launch of falcon compiles example projects
>properly, except cordova).
>5) I followed the readme for the cordova example and did the command-line
>instead
> --> On a windows box, the cordova-build.xml needs to be edited so that
>"cordova" is not executed, but cmd.exe executes cordova:
>
>Examples:
>
>    <target name="create" unless="app.dir.exists">
>    	<!-- create the project -->
>		<exec executable="cmd.exe" dir="${target.dir}">
>			<arg value="/C"/>
>			<arg value="cordova"/>
>			<arg value="create" />
>			<arg value="${project.name}" />
>			<arg value="org.apache.flex.mobile" />
>			<arg value="${project.name}" />
>		</exec>
>
>		<!-- add in the platforms -->
>		<exec executable="cmd.exe" dir="${app.dir}">
>			<arg value="/C"/>
>			<arg value="cordova"/>
>			<arg value="platform" />
>			<arg value="add" />
>			<arg value="iOS" />
>		</exec>
>    </target>
> ...
>    <target name="build" depends="copyfiles">
>		<!-- build the app -->
>		<exec executable="cmd.exe" dir="${app.dir}">
>			<arg value="/C"/>
>			<arg value="cordova"/>
>			<arg value="build" />
>		</exec>
>    </target>
>
>6) This command worked from the PhoneGap created "CordovaCameraExample"
>project directory:
>
>ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample
>-DTARGET_DIR=C:\Users\tom\CordovaProjects\CordovaCameraExample
>-DPROJECT_DIR=C: 
>\ApacheFlex\apache-flex-flexjs-0.0.2-bin\examples\CordovaCameraExample\
>
>All I had to do at that completed was click the "Start/Play" button on
>the PhoneGap desktop UI for that project, and on the iPad2 run the
>PhoneGap Developer app, click Connect, and voila!
>The CordovaCameraExample app was running on the iPad2! How freaking cool
>is that????
>
>So, I took a picture of myself through the app I just deployed on the
>iPad, smiling at success, and mailed it to my team.
>
>I would like to thank Alex and team for their tireless work on Flexjs. I
>am not sure people realize how incredible Flexjs will be when used with
>rapid test/deployment platforms like Cordova/PhoneGap.
>
>Now that I have this all figured out I am looking forward to the RC being
>released so I can build a great app -- and using phoneGap deploy for all
>target platforms rapidly.
>
>Thanks again,
>
>Tom
>
>-----Original Message-----
>From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash
>Muppirala
>Sent: Wednesday, November 04, 2015 2:24 PM
>To: users@flex.apache.org
>Subject: Re: Question about Flexjs and Mobile
>
>Potentially, we can run
>1. the flash version on AIR
>2. the HTML version on AIR via StageWebView 3.  the HTML version on
>Phonegap
>
>One way or the other, mobile support will be there :-)
>
>Thanks,
>Om
>
>On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:
>
>> Hi,
>>
>> We have the MobileTrader example in the flex-asjs/examples/flexjs
>> directory. This demonstrates the initial Mobile package. This will run
>> on the desktop, but if you deploy it to your phone using Apache
>> Cordova, it will work there, too - iOS and Android.
>>
>> Peter Ent
>> Adobe Systems
>>
>> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>>
>> >I have seen the examples for Flexjs for desktop, which are nice. Do
>> >you have any examples for mobile yet?
>> >Looking forward to the upcoming beta.
>> >
>> >Tom
>> >
>>
>>


RE: Question about Flexjs and Mobile

Posted by Tom Brazil <tb...@axway.com>.
After some experimentation, I could not get the RC1 0.5.0 candidate to work properly.
Following your threads on the RC1, I think I know why, so I moved on to the 0.0.2 alpha to learn the fundamentals.

I have success to report: 

1) I installed PhoneGap Desktop and created the CordovaCameraExample project (just structure, nothing in it).
2) I installed PhoneGap Developer on the iPad-2 from iTunes
3) I installed cordova via npm
4) I was able to build the flexjs 0.0.2 alpha and use that SDK (after ant install) for FlashBuilder 4.7 (launch of falcon compiles example projects properly, except cordova).
5) I followed the readme for the cordova example and did the command-line instead
 --> On a windows box, the cordova-build.xml needs to be edited so that "cordova" is not executed, but cmd.exe executes cordova:

Examples:

    <target name="create" unless="app.dir.exists">
    	<!-- create the project -->
		<exec executable="cmd.exe" dir="${target.dir}">
			<arg value="/C"/>
			<arg value="cordova"/>
			<arg value="create" />
			<arg value="${project.name}" />
			<arg value="org.apache.flex.mobile" />
			<arg value="${project.name}" />
		</exec>

		<!-- add in the platforms -->
		<exec executable="cmd.exe" dir="${app.dir}">
			<arg value="/C"/>
			<arg value="cordova"/>
			<arg value="platform" />
			<arg value="add" />
			<arg value="iOS" />
		</exec>
    </target>
 ...
    <target name="build" depends="copyfiles">
		<!-- build the app -->
		<exec executable="cmd.exe" dir="${app.dir}">
			<arg value="/C"/>
			<arg value="cordova"/>
			<arg value="build" />
		</exec>
    </target>

6) This command worked from the PhoneGap created "CordovaCameraExample" project directory:

ant -f cordova-build.xml -DPROJECT_NAME=CordovaCameraExample -DTARGET_DIR=C:\Users\tom\CordovaProjects\CordovaCameraExample -DPROJECT_DIR=C: \ApacheFlex\apache-flex-flexjs-0.0.2-bin\examples\CordovaCameraExample\

All I had to do at that completed was click the "Start/Play" button on the PhoneGap desktop UI for that project, and on the iPad2 run the PhoneGap Developer app, click Connect, and voila!
The CordovaCameraExample app was running on the iPad2! How freaking cool is that????

So, I took a picture of myself through the app I just deployed on the iPad, smiling at success, and mailed it to my team. 

I would like to thank Alex and team for their tireless work on Flexjs. I am not sure people realize how incredible Flexjs will be when used with rapid test/deployment platforms like Cordova/PhoneGap.

Now that I have this all figured out I am looking forward to the RC being released so I can build a great app -- and using phoneGap deploy for all target platforms rapidly.

Thanks again,

Tom

-----Original Message-----
From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash Muppirala
Sent: Wednesday, November 04, 2015 2:24 PM
To: users@flex.apache.org
Subject: Re: Question about Flexjs and Mobile

Potentially, we can run
1. the flash version on AIR
2. the HTML version on AIR via StageWebView 3.  the HTML version on Phonegap

One way or the other, mobile support will be there :-)

Thanks,
Om

On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:

> Hi,
>
> We have the MobileTrader example in the flex-asjs/examples/flexjs 
> directory. This demonstrates the initial Mobile package. This will run 
> on the desktop, but if you deploy it to your phone using Apache 
> Cordova, it will work there, too - iOS and Android.
>
> Peter Ent
> Adobe Systems
>
> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>
> >I have seen the examples for Flexjs for desktop, which are nice. Do 
> >you have any examples for mobile yet?
> >Looking forward to the upcoming beta.
> >
> >Tom
> >
>
>

Re: Question about Flexjs and Mobile

Posted by OmPrakash Muppirala <bi...@gmail.com>.
Potentially, we can run
1. the flash version on AIR
2. the HTML version on AIR via StageWebView
3.  the HTML version on Phonegap

One way or the other, mobile support will be there :-)

Thanks,
Om

On Wed, Nov 4, 2015 at 12:13 PM, Peter Ent <pe...@adobe.com> wrote:

> Hi,
>
> We have the MobileTrader example in the flex-asjs/examples/flexjs
> directory. This demonstrates the initial Mobile package. This will run on
> the desktop, but if you deploy it to your phone using Apache Cordova, it
> will work there, too - iOS and Android.
>
> Peter Ent
> Adobe Systems
>
> On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:
>
> >I have seen the examples for Flexjs for desktop, which are nice. Do you
> >have any examples for mobile yet?
> >Looking forward to the upcoming beta.
> >
> >Tom
> >
>
>

Re: Question about Flexjs and Mobile

Posted by Peter Ent <pe...@adobe.com>.
Hi,

We have the MobileTrader example in the flex-asjs/examples/flexjs
directory. This demonstrates the initial Mobile package. This will run on
the desktop, but if you deploy it to your phone using Apache Cordova, it
will work there, too - iOS and Android.

Peter Ent
Adobe Systems

On 11/4/15, 2:39 AM, "Tom Brazil" <tb...@axway.com> wrote:

>I have seen the examples for Flexjs for desktop, which are nice. Do you
>have any examples for mobile yet?
>Looking forward to the upcoming beta.
>
>Tom
>