Start learning with our library of video tutorials taught by experts. Get started

Flex 4.6 and AIR 3.0 New Features for Mobile Apps

Understanding and deploying captive runtimes on Android


From:

Flex 4.6 and AIR 3.0 New Features for Mobile Apps

with James Talbot

Video: Understanding and deploying captive runtimes on Android

Up until Adobe Flash Builder 4.6, all AIR applications that are deployed on the desktop or inside of Android required the third-party adobe AIR runtime. If you are familiar with the process of developing mobile AIR applications for Apple iOS devices then you may already know that these applications don't require the third-party runtimes. They are completely self-contained applications. These AIR applications for iOS already take advantage of the captive runtime.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Flex 4.6 and AIR 3.0 New Features for Mobile Apps
1h 49m Intermediate Jan 30, 2012

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.

Topics include:
  • Controlling adaptable tablet layouts
  • Controlling view hierarchy
  • Using 16-bit and 32-bit render modes
  • Using the Date Picker, Scroller, and List components
  • Adding a splash screen to a mobile app
  • Using native extensions for iOS and Android
  • Testing with FlexUnit on Wi-Fi
  • Packaging the application for release
Subjects:
Developer Mobile Apps
Software:
AIR Flash Builder Flex
Author:
James Talbot

Understanding and deploying captive runtimes on Android

Up until Adobe Flash Builder 4.6, all AIR applications that are deployed on the desktop or inside of Android required the third-party adobe AIR runtime. If you are familiar with the process of developing mobile AIR applications for Apple iOS devices then you may already know that these applications don't require the third-party runtimes. They are completely self-contained applications. These AIR applications for iOS already take advantage of the captive runtime.

All of the necessary components of the AIR framework are bundled into a self-contained, compiled, distributable application, and have no dependencies upon any other frameworks. Now with the AIR 3.0, we have the option to bundle the AIR framework into our application to eliminate this third-party dependency, so our end users won't have to go out to the Android Market or to the Amazon Marketplace and actually download AIR before they can run our application.

One thing to keep in mind is that you can only export Mac packages on Macs however, and Windows EXEs on Windows, if you are developing for the Desktop. You cannot target the native installers or the bundled runtimes for cross-platform development. We only have a single app that targets both platforms if we export a .air file, and still, .air files do require that third-party AIR runtime. So, I am going to take my application here, and what I am going to do is I am going to click on Project, and I'll choose Export Release Build and I will export this to my bin-debug here. And let's just call this NativeExtension with the captive runtime, and I will create a signed package for each target platform.

I'll click Next here. And you can see, for Apple iOS, by default it automatically comes with the captive runtime. There is no other option. So you have to include it with the captive runtime. Now for Google Android, we have a choice here, and we could say either export the application that uses a shared AIR runtime or export it with the captive runtime. The only advantage of choosing the shared adobe AIR runtime is your file size will be a little bit less, so it would be less of a download for the end user because it won't include all of the AIR libraries.

Those AIR libraries will be downloaded in a separate application from the Android or the Amazon marketplace. But if we want to export this with the captive runtime, it's a simple as just clicking Export application with captive runtime. And then of course, we can create a digital signatures, make sure that our data extensions are included, and include any package contents that we would like, and then that will export the APK file for Android with the included AIR runtime. Very, very powerful.

There are currently no FAQs about Flex 4.6 and AIR 3.0 New Features for Mobile Apps.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Flex 4.6 and AIR 3.0 New Features for Mobile Apps.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked

Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.