We release something new every couple of weeks.
Want to know when the next free ANE is out?
Camera Tutorial Part 5: Start the camera from ActionScript
At the end of this part you will have
A confirmation of whether all of that code you piled up so far actually works. :) Seriously, though, here is where you put the plumbing of your ANE together and start the camera from your test app. Dive in.Time
5-6 minutes Read MoreCamera Tutorial, Part 4: Connect to the camera in Objective-C
At the end of this tutorial you will have
An iOS library which connects with the camera, sets it up and starts it.Time
15-20 minutes Read MoreCamera 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
Calling native functions from ActionScript
So you have started writing an AIR Native Extension (ANE). You've got a pretty good idea of how AIR loads and unloads it from memory and know that you need an Extension Context to tell AIR about what functionality your native code exposes. The infographic in this article will show you the mechanism of making native function calls from ActionScript. Read More