Hi, We've been working on an improved FlexJS mobile app: MobileStocks. It is in the FlexJS examples directory. This example runs on both Android and iOS devices and is a version of MobileTrader, offering just two views. The first view allows you to enter a stock symbol and a number of shares. It then puts that information into a DataGrid and a chart, monitoring the change in prices and updating the grid and chart. The second view allows you to enter a symbol and watch it in a similar fashion. MobileStocks uses the FlexJS Storage project to retain the list of stocks between sessions.
MobileStocks uses Apache Cordova, making the app run on both iOS and Android from a single code base. Cordova integration is handled by the FlexJS Mobile project as well as the Storage project. Building and running the app is pretty simple and you can do it from the command line or from Flash Builder. If you want to use the command line, pull down the source and run ANT to build the js-debug directory. Then run "ant -f ../../../cordova-build.xml" to create the Apache Cordova sub-project. Once that has done, connect your Android device to your computer and run "ant -f ../../../cordova-build.xml run.android" which will download a little more and then install and run the app on your device. iOS users can do the same thing (use "run.ios") which will launch the device simulator; you also need to have Xcode installed. You can run this example easily from Flash Builder by following the instructions on the FlexJS wiki [1] and use the launch configurations to build and run the app. The example has shown us a couple of things. * We needed to make more beads to handle different types of data providers in the pay-as-you-go world of FlexJS; this keeps the app as small as possible. * We needed to add additional layouts that were more responsive to resizing. * We needed to fix a couple of bugs as well. Please give this a try if you can. The next step for the app would be some nice styling. This my "developer's eye" which is just minimal, so contribute some updates to that, if you can. [1] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=63406558 Regards, Peter Ent Adobe Systems/Apache Flex Project