
Tags
ActionScript
Adobe
AIR
AIR Native Extension
Android
ANE
Application Devlopment
Arduino
BlazeDS
C
CFUG
Class
ColdFusion
ColdFusion Builder
CompSci
Computer Engineer
Computer Science
Cover Letter
CS
CSE
DLL
Education
Flash
Flash Builder
Flex
Flex Builder
InsideRIA
iPhone
Java
Job
K-12
Kinect
LiveCycle
LiveCycle DS
MacOS
MAX
Mobile
O’Reilly
POV
Queensland
Resume
RIA
RIM
TV
University
Microblog
- Surprise : HP jumps into the "me too!" game : http://t.co/M6Y3LPAE 9 hours ago
- ahhh.. Ant build completed with zero errors and zero warnings in 644s at 2/25/12 12:06 PM 12 hours ago
- Building the @JustinMclean SDK, erm. Apache Flex SDK. So far, so good :) 12 hours ago
- crap. switches SVN branches and forgot to commit first. so-long changes! 14 hours ago
- If I have one more company that proposes to re-do MSU's admission process, I'm giving up. I asked you to propose X, don't give me Y. 1 day ago
- One day I will find a sales person who listens to us on how our business works and dosent make grand assumptions. They are always wrong. 1 day ago
Archives
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- August 2011
- July 2011
- May 2011
- January 2011
- December 2010
- November 2010
- October 2010
- July 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- August 2007
- October 2006
- January 1970



Finally, thank for the detailed tutorials!
There are quite a lot of steps to build a simple DLL, I would expected Adobe to make ANE more simple.
Great job!
Pingback: Cool Stuff with the Flash Platform – 12/16/2011 | Android Developers
Great stuff – thank you Nick. Your style of teaching is refreshing!
I must have missed a step, but how did you make it so you could call your DLL functions from withing Flash Builder 4.6.0 without getting the “The extension context does not have a method with the name xxx”?
I’m assuming you are on a Mac? Check out http://quetwo.com/2011/12/03/working-with-air-native-extensions-on-the-mac/ (the last half) for a quick run-down how to fix it. It’s a pain in the rear, but we are hoping it is fixed in the next version of Flash Builder.
Actually, I’m on Windows 7.
I was aware of the mac issue so only did commandlines for now. But I’m getting the same problem on Windows somehow, Using 4.6.0. It works in a release though.
Thanks a lot for sharing.
I’ve been able to debug the extension doing this :
- package the ane using the debug dll.
- create a c/c++ attach to application debug configuration. Use the dll project, and point to adl.exe you’re using to debug the AIR application (should be C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\bin\adl.exe).
- First launch the air application in debug.
- Then debug the “c/++ attach to application” configuration. It should show you a process list with one adl.exe.
- Adl.exe will be suspended. Click on the process in debug view and choose resume.
- Now you can add breakpoint in your c/c++ code.
Hope this helps.
Awesome! Thanks!
Thanks for the tutorial. But how do I create an ane using more than one dll? How do I do if the dlls are communication and depends on the other?
You don’t really do anything special. Only one DLL can be your entry point, but if it depends on other libraries, then that is fine. Package both DLLs into the ANE into the META-INF\ANE\Windows-x86\ directory.
The Arduino ANE I created includes two DLLS (the main dll, and pthreads).