AIR Capabilities.screenDPI on Devices

NOTE: Some of the values have changed in AIR 2.6 see the latest post here. The relationship between the screen resolution and physical size of the device is very important to know when building multi-screen applications. The AIR and Flash Player runtimes provide information about the hardware capabilities through a set of APIs. The sad news is the current state of this information is somewhat dependent on the OS providing correct information, or...

Read More

Finding the AIR for Android Emulator Runtime

If you want to use the latest AIR 2.5 Runtime on the Android emulator you will need to look for it in two locations. Location #1 is Flex 4.5+ SDK (example below is Burrito but its relative to 4.5 SDK install): Adobe Flash Builder Burrito/sdks/4.5.0/runtimes/air/android/emulator/Runtime.apk Location #2 is in Flash Professional CS5 with the AIR extenstion: Adobe Flash CS5/AIK2.5/runtimes/air/android/emulator/Runtime.apk To get the runtime on the...

Read More

What Font does QNX UI Components on the PlayBook Use?

The default font that Flash Player and AIR assigns to TextField is: Times New Roman (or Times on Mac OS X). If you set the TextFormat‘s font name of a TextField to a invalid font name it will then revert to the OS’s default font, not the Flash Player and AIR default of Times New Roman. I wanted to find out how this works on the BlackBerry Tablet OS, which is the PlayBook’s OS. I went ahead and whipped up some code with a bunch...

Read More

PickQuick Source Code

I have been demoing a game called PickQuick across devices at conferences like MAX and user group meetings. I like to use the RTMFP local multicast feature to make it easy for devices to find each other and communicate. Here is a video of the game in action running across 5 devices (both Android and iOS):Game Preview for my game and AIR related MAX Session from Renaun Erickson on Vimeo. For a explanation of what the underlying Flash Player...

Read More

Using MXML with QNX UI Components for the PlayBook

One of the less known facts about the Flex SDK and all its various parts is that MXML != Flex. MXML is a markup language that gets turned into ActionScript by mxmlc. With a little bit of knowledge of some metadata and willingness to build a bit of plumbing into a container class you can use MXML and Binding without Flex. So what I am trying to do here? I am trying to take a ActionScript 3 UI library and use MXML to describe its layout. More...

Read More

Using PlayBook’s QNXStageWebView with Flex Hero Mobile

UPDATED:People where having issues and I wanted to confirm it works with the latest BlackBerry Tablet OS 0.9.4 SDK/Plugin The BlackBerry Tablet OS provides a few extra AIR API’s. One of these API’s is the QNXStageWebView. It provide works a lot like the AIR 2.5 mobileDevice profile’s StageWebView, but provides specific hooks into the PlayBook’s webkit. For example the ability to use JavaScript between app and web view....

Read More