March 23, 2012
The mm.cfg text file can be used to obtain logs of trace() output in Adobe AIR applications on iOS.
Here are the steps you will have to follow to add the mm.cfg file to your IPA: Continue reading…
November 18, 2011
In this post I am going to talk about debugging native iOS extensions for AIR. While fdb is sufficient for debugging the ActionScript part of an extension we have to rely on native tools to debug the native code. For iOS this means that the extension can be debugged only on Mac using the XCode toolset.
ADT generates a dSYM resource along with the final IPA when the IPA contains a native extension. The dSYM resource is created in the same directory as the IPA and follows the usual naming convention of having a “.dSYM” appended to the application bundle name. So if the application name is MyApp.app, the dSYM resource will be named MyApp.app.dSYM. This can be used for analyzing crash logs in the same way as for any native iOS application. Continue reading…
November 16, 2011
AIR 3.1 introduces significant improvements to the way native extensions can be used on iOS. Firstly, it lets you package your apps with an external SDK so that you are not restricted to using the captive SDK. If you have built an extension with the latest iOS SDK to access the latest features you can now specify that SDK when packaging the app. You can specify an iOS sdk to link with using the -platformsdk switch when packaging an IPA. Simply add -plaformsdk /path/to/iPhoneOS5.0.sdk to your regular commandline for packaging the ipa. Continue reading…
November 4, 2011
Slides from a presentation I gave on Native Extensions in Adobe Flash Platform Summit 2011, Bangalore. I gave the presentation before native extensions was actually released but the content is sufficiently high-level to be correct even now. Continue reading…
October 8, 2011
Entitlements allow applications to access special resources and capabilities on iOS. A typical AIR application needs only the application-identifier and get-task-allow entitlements keys. The packager configures the entitlements file and the application developer does not need to bother about entitlements at all. However, with the advent of native extensions, developers wanting to access resources beyond what the runtime provides might need to set up proper entitlements for them. Continue reading…
August 12, 2011
<fx:Script>
<![CDATA[
import mx.controls.Alert;
<!-- My first post here. -->
public function welcomeHandler(evt:Event):void {
Alert.show("Hello World!", "Greeting");
}
]]>
</fx:Script>