Here is a simple application I built using jQuery Mobile and PhoneGap. Even though the application is simple, it covers some common requirements of mobile applications: database access through JSON services, multi-level master-detail views, parameter passing between views, etc. You can play with the application here, or download the source code below and build it for different mobile platforms (using the PhoneGap tools or the cloud-based build service at http://build.phonegap.com).
Adding PhoneGap to our Arsenal
Last week at MAX, Adobe announced it has entered into a definitive agreement to acquire Nitobi, the creator of PhoneGap. PhoneGap facilitates the development of cross-platform mobile applications using HTML: It allows you to package your HTML as an app for different platforms (iOS, Android, BlackBerry, Windows Mobile, Symbian, etc). PhoneGap also provides JavaScript APIs to access the native capabilities of your mobile device: Accelerometer, GPS, Database, Camera, Contacts, Notification, etc.
There is a spectrum of things that people build for mobile devices: from content-driven applications to highly interactive applications, and everything in between. There is often a gray area between what can be achieved in HTML and what requires a native experience. With the addition of PhoneGap to our arsenal, we will be able to help developers and designers cover (and integrate) a broader range of use cases. Greg has a great post about this here.
Flex / Spring Mobile Test Drive: Learn the Best Way to Build Java-Backed iOS, Android and PlayBook Apps
Flex is a powerful application framework for building first-class mobile applications for iOS, Android, and the BlackBerry PlayBook using a single programming model, a single tool, and a single code base.
If you are a Java developer, the Flex programming model is also easy to master because it is syntactically very close to Java. The Flex IDE (Flash Builder) is a plugin on top of Eclipse, which means that you can write, debug, and profile your client and server code in the same development environment.
You can also easily integrate Flex applications with a Java back end using the Remoting and Messaging services provided by BlazeDS (open source) or LCDS (commercial license). For Spring developers, the integration is even easier and more powerful using the Spring/BlazeDS integration project, which makes the Flex and Spring combination the best way to build cross-platform iOS, Android, and PlayBook applications with a Java back end.
[Read more...]
Using jQuery in a Flex Application
This is a follow up to my previous post on how to invoke a JavaScript function in an HTML document hosted in a Flex application (using the StageWebView).
The Flex application of course doesn’t care about — and is not aware of — the way your JavaScript is written and which libraries you use. However, I’m currently working on a hybrid mobile application where the HTML hosted in the StageWebView is powered by jQuery, and I find the combination of the two technologies powerful. So I figured I’d share a simple example here.
This is the same example as the one in my previous post with the exception that the HTML part is powered by jQuery.
Flex Mobile: Invoking JavaScript in a StageWebView

The StageWebView allows you to render HTML content inside a Flex application using the underlying HTML rendering engine available on your mobile device.
In some situations, the Flex application may need to communicate with the HTML document hosted in the StageWebWiew. In other words, you may need to invoke a JavaScript function available in that document from the Flex application.
Multi-Touch Charts for iOS, Android, and PlayBook: Source Code Available on GitHub
After MobileTrader and MobileDashboard, the last sample application I built during the Flex 4.5 beta program was a sales pipeline application with custom charts built with FXG and a number of interesting touch interactions. I just pushed the source code on GitHub as well:
MobileDashboard for iOS, Android, and PlayBook: Source code available on GitHub
I continue to see a very high level of interest for data visualization applications on mobile devices. Tablets in particular are fast becoming the device of choice for dashboards, analytics, and BI applications. With its powerful charting components library, Flex is the ideal solution for building these applications. And because it’s Flex, it’s also cross-platform: the same application runs on iOS, Android and the BlackBerry PlayBook. One codebase.
As an example, I built a simple “dashboard portal” during the beta program. Now that Flex 4.5.1 is out with built-in support for iOS, Android, and the PlayBook, it’s time to share the source code publicly.
The source code is available here: https://github.com/ccoenraets/MobileDashboard
Usual disclaimer about the source code: This is a sample application, I intentionally cut some corners, used the out-of-the box look and feel, etc.
MobileTrader for iOS, Android, and PlayBook: Source code now available on GitHub
I made some changes to the MobileTrader application and took the opportunity to push the source code to GitHub. You can get it here: https://github.com/ccoenraets/MobileTrader
This version was built with the shipping version of Flex and Flash Builder 4.5.1 which has built-in support for iOS, Android and the BlackBerry PlayBook.
The most notable change in this version is that I enabled the real time collaboration feature (with your financial advisor). This includes video conference, user interface synchronization, etc. You will need a LiveCycle Collaboration Service room URL to enable this feature. You can sign up for a developer version here: https://afcs.acrobat.com. You can still use the application without enabling the real time collaboration feature.
Usual disclaimer about the source code: This is a sample application, I intentionally cut some corners, etc.
LCDS Multi-Client Support: Native iOS, Android, HTML, Java, and Flex
Last year at MAX, we announced and sneak peeked the new multi-client support in LCDS. LCDS will soon provide native client libraries for iOS, Java, Android, HTML / HTML 5 (with WebSockets support when available), and Flex. The engineering team has been hard at work on this. My friend Mete Atamel has been leading the charges, and he recently recorded the screencast below showing six different clients connecting to an LCDS server.
Three Platforms, One application: MobileTrader for iOS, Android, and PlayBook Source Code Available
My recent video, Flex on the iPad, has generated a lot of interest. The same application runs on iOS, Android, and the BlackBerry PlayBook. A number of you have asked me for the source code. Now that Flex 4.5 has been released, I’m able to share it: you can download the project file here.
NOTE: The shipping version of Flash Builder 4.5 provides full support for Flex projects on Android. Support for Flex projects on iOS and the PlayBook will be available in a June update. More information here.
Usual disclaimer about the source code: This is a sample application, I intentionally cut some corners, etc.

RSS