We release something new every couple of weeks.
Want to know when the next free ANE is out?
Camera Tutorial, Part 3: Set up the AIR Library
At the end of this part you will have
An AIR library project with AIR interface and function placeholders for driving the camera which you'll fill in the next few parts of the tutorial.Time
8-10 miutes Read MoreCamera Tutorial, Part 2: Set up the Xcode project
At the end of this part you will have:
An Xcode project with AIR interface and function placeholders for driving the camera which you'll fill in the next few parts of the tutorial.Time
8-10 miutes Read MoreCamera Tutorial, Part 1: Create a test app
At the end of this part you will have
- A Flex mobile app with placeholder functionality for showing preview from the native camera. Check this out If you are asking "Why Flex and not pure ActionScript?"
- The means to run and test your ANE as soon as you write its first lines of code - a much better option than tapping away blind.
- Understanding of the 'grand plan' behind the ANE.
Time
15-20 minutes Read MoreCamera Tutorial: Introduction
At the end of this tutorial you will have
- A native extension for AIR that connects with the native camera and captures frames from it.
- A test app that uses the native extension and can help you test and debug its code.
Total time
I've broken down the tutorial into parts, each of which should take between 5 and 20 minutes to implement. I expect the full tutorial to take you between an hour and a half and two hours in total. You've got to love software project estimates. :) If you've completed the whole tutorial, leave a comment and let me know whether my estimate was way off base. Read MorePackage your ANE in Flash Builder
I keep advocating single-click builds and it's time to put my money where my mouth is. This article will show you how to set up Flash Builder to rebuild and package an AIR Native Extension with one click. Read More
Automatic ANE packaging
Let me ask you a question. Let's say you've written the code for your AIR Native Extension, native library, AIR library and all that. How many steps does it take to build and package this in an .ANE file? Let's count: 1... Read More
How to add a native extension to your app
We have so far established what you need to set in a native extension, in order for it to be distinguishable from other native extensions when used in an app. We also saw that you need to set that in the extension descriptor file.
Now let's have a look at how a native extension is used in an app and what you need to set in the app to help AIR find and load the native extension. Read More
Communication between ActionScript and native code in an ANE
When you make a native extension, you'll find that the communication between ActionScript and native code is somewhat lopsided.
Read MoreWhat goes into an AIR Native Extension for Android?
So you are an Android guy. Or gal. Or, you are an ActionScript person, who wants to expand to Android. Same difference. Here is a bit of prerequisite information, in case you need it:
Next, let us see the ingredients that you have to provide for an ANE and those that are provided for you. You will have to make two libraries: Read More