Daily Archives: July 15, 2013


Create an Air ANE for Android to dispatch background tasks

If you are using DIRECT or GPU mode with Adobe Air you probably have already noticed that once the app goes in background it stops firing any kind of Event. This means that any task that dispatches Event will stop working. Luckily it is still possible to dispatch Events from an ANE. In this post I am going to create an ANE for Android that dispatches an Event every second which triggers a callback on the AS3 side. Assuming that you have already downloaded the Android SDK, open Eclipse and create a new Android Application Project naming it BackgroundTasker, also if you want change the Package Name, I changeds mine to com.lorenzonuvoletta.backgroundtasker. Click Next a bunch of times and you should have your project setup. You can also go ahead and delete… [Read more »]

flash-air-android