14
Jul

How to build a Flex Mobile App with Maven

Building applications that run on mobile is today’s trend. Everybody is thinking mobile and social and cloud.

To build a Flex application for Mobile is very easy, provided you use Flash Builder. When it comes to automating that build, things are not as easy. Because recently I’ve managed to overcome the obstacles that were preventing me to build a running Flex 4.5 app for mobile, I want to share the build.

I’ve taken the initial build from this thread. Marvin Froeder ( a.k.a VELO ) has been doing some hard work recently, creating the Enterprise version of Flex Mojos. This version seems pretty promising. I’m looking forward for its release. When you’re testing the build, make sure you register during the build, following the instructions. The process is fairly easy, but … rewarding. The maven build creates the final apk/air/exe/dmg…, which you can use to install the app on your device. It’s worth trying it.

To build the app, you need to execute

mvn3 clean install package

Prior to the build, you need to make sure you have Maven 3 installed, with the following environment variable:

MAVEN_OPTS="-Xmx1024m -Xms128m -XX:+DisableAttachMechanism"

Also, you need to have the mobile theme installed in a repository. As of today, the flex mojos repository doesn’t contain this theme, so you need to install it manually.

When the build ends, connect your device to the computer and execute:

adb install -r ./target/mobile-1.0-SNAPSHOT.apk

Then, go to your device and open “main” application.

If you see the following screen, it means that the application got compiled successfully.

Maven Mobile Screenshot

Screenshot showing the app built with Maven

30
Jan

Jenkins (ex-Hudson) plugin to capture Flash Logs during build

Lately I’ve been working on a plugin for Hudson / Jenkins that captures Adobe Flash Player logs during a build, making them available as build artifacts.

This plugin is useful when you want to debug Unit Test or Automated Tests which are failing in the CI machine.

For me information you can check http://wiki.hudson-ci.org/display/HUDSON/FlashLog+Plugin

02
Nov

Adobe Success Story: Integrated customer service delivery

I can finally speak publicly about what I’ve been working on lately at Adobe, as part of the TXI team: Hendrix.
Adobe@Adobe: Integrated customer service delivery
Adobe transforms customer service and sales using the Adobe Flash Platform and Adobe LiveCycle ES2 for more responsive, integrated service delivery.

Adobe is always looking for the best solution to meet any business challenge. Recently, we set out to empower call center agents with faster, smarter access to information—giving them instant access to the information they need to answer customer questions. By leveraging the Adobe Flash Platform, we created a dynamic and sophisticated RIA that gives call center agents an intuitive, rich interface for accessing data in complex enterprise systems. Almost instantly, service agents can identify customers’ primary concerns, quickly locate the appropriate information, and address customer requests faster than ever. The RIA is helping us exceed our customers’ service expectations—and improve agent training and reduce costs as byproducts. To read more about the world-class customer service RIA, check out the story on the Adobe Customer Showcase.

To view a demo, you can also watch the 14 mins MAX keynote – “Pimp my App”.

Technology stack used to develop this product:

  • Adobe LiveCycle Data Services ES2
  • Adobe Flex SDK.
  • Adobe Flash Builder
  • Adobe Flash Catalyst
  • Adobe Illustrator CS5
  • Adobe Photoshop CS5