Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Join James Talbot, as he reviews the new features in Adobe Flex, Flash Builder, and AIR for mobile application developers. This course covers the Spark components for building mobile user interfaces in the Flex SDK, and the AIR support for native extensions, which enable applications to use parts of the host operating systems that were previously unavailable. The course also describes new testing and network monitoring capabilities available with Flash Builder 4.6, and the ability for Android applications to be deployed without relying on a separate runtime.
Packaging an application for an Android or iOS device that includes a native application is very easy. All you need to do is be sure that the native extension is included with the code. So you will see that I have my completed vibrate project and I have the ANE file already linked here, so this is what we did in movie #1 in the native extensions series. So all we have to do is just click on Project > Export Release Build, and we can choose which folder to export to.
I will just choose the bin- debug folder in this case. And then we can choose a signed package for each target platform, so we are going to build both an APK file for Android and an IPA file for iOS, and then I'm going to click Next. Then all I have to do is just make sure that the native extensions are included here. So again, it should happen automatically. And again, if there's any error, so, for example, if I was trying to export to Blackberry and I didn't have the Blackberry code in here, Flash Builder would automatically give me an error.
So that makes it very easy, but you can see that everything is working fine. Again, you can see that this does not support the Error Simulator, but you can see that Apple iOS is supported. For deployment, I can export the application either with a captive runtime-- that's my only choice of course on Apple iOS--and then I can export the application that uses a shared runtime on Android. I can indicate my digital signatures. Of course, all my applications need to be signed. I can indicate what I would like to include in the package. I can click Finish, and it will generate me the APK file and the IPA file with the native extensions back to that native code. Very powerful.
There are currently no FAQs about Flex 4.6 and AIR 3.0 New Features for Mobile Apps.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.