AIR

AIR app installs cross a billion

Screen-Shot-2014-04-30-at-12.35.29-PM-1024x307

The AIR/Flash Player team announced that there have been over 1 BILLION installs of AIR based applications for desktop and mobile. Congrats!

I know that AIR & Flash are not the shiny kids on the tool belt of many developers, but more than once I have returned to this technology to prototype a user interface that would not be possible with web technologies.

You can read the full post here: http://blogs.adobe.com/flashplayer/2014/04/air-app-installs-cross-a-billion.html

StageWebView Loading Improved

Recently, someone asked about trying to improve hiding the white rectangle of the StageWebView. I got to thinking about this and tried a little experiment. Did I have to set the viewPort during the normal configuration, or could I wait?

So, I decided to try it. I moved the setting of the StageWebView’s viewPort until the page had been loaded. We know this via an Event.COMPLETE event. Here is the sample code:

import flash.media.StageWebView;
import flash.events.Event;

var webView:StageWebView = new StageWebView();
webView.stage = this.stage;
//webView.viewPort = new Rectangle(0, 0, 480, 200);
webView.assignFocus();
webView.loadURL("http://aj-software.com/clients/mobile/360Flex/2011/mobile/map/index.html");

webView.addEventListener(Event.COMPLETE,handleLoad);

function handleLoad(evt:Event):void
{
webView.viewPort = new Rectangle(0, 0, 480, 300);
}

stop();

Demo File

Adobe Flash Player 11.5 and AIR 3.5 now available

The AIR SDK can be downloaded at: http://www.adobe.com/devnet/air/air-sdk-download.html

The Flash Player can be downloaded at: http://www.adobe.com/support/flashplayer/downloads.html#fp11

For more information on the release, you can read the tech note: http://helpx.adobe.com/flash-player/release-note/fp_115_air_35_release_notes.html

If you forgot how to manually update Flash Professional to target a new version of the Flash Player, you can read this blog post. Flash Professional CS6 has AIR SDK management available under the Help menu.

Managing your AIR SDKs in Flash Professional CS6

One of the new features in Flash Professional CS6, is the integrated management of AIR SDKs. In previous versions of Flash Professional, this was a multi-step process of editing XML files, and managing directories. I have forgotten how many times I missed a simple attribute in an XML file and screwed something up.

Recently I was updating my copy of Flash to use the just released AIR 3.3 SDK. Currently, Flash Professional ships with AIR 3.2 as the target SDK. (I wonder if with the Creative Cloud, would we see a ‘new’ build of Flash Professional that shipped with 3,3?)

The steps to add an additional SDK to Flash Professional are fairly straight forward.

Flash Professional Help Menu

Go to the Help menu, and select Manage AIR SDK…

Note: You will need to have downloaded the AIR SDK previously. This manager does not handle that portion of the process.

Click the + icon in the upper right, and then select the location where you have decompressed the AIR SDK.

And with that, Flash Professional CS6 can now build AIR 3.3 projects. So much easier than before.

But there is a word of caution that needs to be added to this process. After adding the new SDK, I realized that I might want to create a better directory structure to handle possible future versions of Adobe AIR. Here is what my folder initially looked like:

AIR SDK Folder Before

So, I created a directory named 3.3 and moved all the contents into it.

AIR SDK Folder After

I then relaunched Flash, and it crashed with no warnings! I never even saw the splash screen come up. In a bit of a panic, as I was going to be demoing Flash shortly, I copied the AIR SDK back out of the directory I just made, and relaunched Flash. And, you guessed it, no problems. Crisis averted. I went back into the Manage AIR SDK window, deleted the reference to the original 3.3 SDK, then added the version now stored within a better file structure.

I certainly was not expecting such a hard crash do to this issue

Now to file the formal bug report in JIRA…

Choosing the Right Mobile Development Platform – D2WC

I had a fantastic time in Kansas City last week at the Designer/Developer Workflow Conference. I ran a workshop  on jQuery Mobile and did a short talk on Choosing the Right Mobile Development Platform. I had a room full of great folks both times around!

I’ve just posted my slides from the talk on Speakerdeck. If you have any questions, please feel to ping me.

360|Flex – Choosing the Right Mobile Development Platform

Choosing the Right Mobile Platform

I had the pleasure of presenting “Choosing the Right Mobile Development Platform ” at this year’s 360|Flex conference. A full recap of the conference is in the works, but I wanted to get my slides up for those who wanted them. Here is what I spoke on,

As more and more projects are requiring mobile applications, developers are faced with a wide range of options. AIR for mobile? PhoneGap? Titanium’s Appcelerator? Sencha? Native? Which development environment makes sense? This session will explore the advantages and limitations of each of these environments from someone who has been in the mobile application development world for over 4 years. Get a clear picture of what these technologies can offer for your mobile development needs.

Adobe AIR 3.2 & Flash Player 11.2 Release Candidates!

Adobe just posted the release candidates for Adobe AIR and Flash Player 11.2 on labs.adobe.com. The big news is that finally this build of Adobe AIR introduces the Stage3D API to iOS and Android devices, enabling full hardware accelerated 2D and 3D graphics for mobile apps. So go brush up on your Starling framework and get ready to build some awesome games!

My FlashTent Presentation Now Online

My presentation on Developing AIR for Mobile with Flash Professional CS5.5, given at the recent FlashTent event, is now available for viewing. If you are just getting into mobile development, this talk will give you a nice overview of developing with AIR for mobile. I also spent some time talking about some general mobile development guidelines. Here is the talk description:

New to mobile development? Wondering how mobile applications are built? This presentation will walk you the entire development process of the AIR for mobile application from design to deployment.

Topics:

  • Desktop vs. Mobile
  • Ergonomics
  • AIR
  • AIR Application setup Android/iOS
  • AIR Code Samples
  • New Features
  • Hitting walls aka limitations
  • Publishing iOS/Android
  • Best practices

I hope find this presentation useful, if you are interested in learning more about mobile development, I will be speaking on Choosing the Right Mobile Development Platform at this year’s 360 Flex Conference.

What’s New in Adobe AIR 3 & Flash Player 11 free ebooks now available

I was honored to be one of the technical reviewers for these publications. Go grab a copy and get up to speed on the new features in the Flash Player and Adobe AIR.

What's New in Flash Player 11 Quickstart Guide for Browser-Based ExperiencesWhat’s New in Flash Player 11
By Joseph Labrecque

This free ebook will present you with a full rundown of all the new features in the upcoming Flash Player 11 runtime. Along with each feature, if applicable, will be a demonstration of how to employ the new feature. There’s also be a short introduction to Flash Player and a chapter dedicated to providing you with additional resources.

What's New in Adobe AIR 3What’s New in Adobe AIR 3
By Joseph Labrecque

This free ebook will present you with a full rundown of all the new features in the upcoming AIR 3.0 runtime. Along with each feature, if applicable, will be a demonstration of how to employ the new feature. There’s also be a short introduction to AIR and a chapter dedicated to providing you with additional resources.