By: scott July 7th, 2011
I was tasked with researching mobile development using Flash and Flex the day before the 4.5.1 update for FB and the Flex SDK was released. Mobile development has been available since the 4.5 update (the release of CS 5.5), but that release had some limits with respect to the use of the Flex framework for mobile (Compatibility Matrix for Mobile). Exciting times to be had for Flash and Flex developers.
If developing with the Flex framework for mobile, there are some restrictions as to what components can/should be used (Restrictions on using Spark and MX components in a mobile application). You can see there are actually new components which were created specifically for mobile. Those components are on the first row of the component table. Also check out Optimize Skinning Basics.
If you are looking to build for iOS devices, then you may want to have a look at the first video on this page. At about 3 minutes in Serge talks about how to get the certificates from the iOS developer website. For more information on this check out Adobe’s site on iOS certificates. Also check out this blog entry on How to build your Flex app for iOS with AIR 2.6 which shows you step by step what you need to do.
When trying to connect and run my mobile app on some Android devices such as my Android phone and Galaxy Tab (Connect Google Android devices), I had the same problem described here. Unfortunately following Brent’s steps to fix the issue did not work for me. I had to download the device drivers for each specific device and install them on the computer which the device is connected to. Once I installed the device drivers I was able to run my app on all my Android devices.