Non-debug SWFs in Flash Builder

So this is a little tip that has been coming up more and more often because of the need to export applications to the various package types (.bar, .apk, .ipa) and tooling not quite being there (or plugin support out of sync etc…). The proper way to create a non-debug version of a specific package is to use the Flash Builder’s Export dialog. For example you will need to create a release version (non-debug) of your application to...

Read More

PlayBook sample ActionScript Application using QNX components

I recently participated in the BlackBerry Developer Day co-presenting the BlackBerry PlayBook Tablet Bootcamp: Adobe AIR sessions. We led developers through the process of installing all the tools (Flash Builder Burrito, VMWare, BlackBerry Tablet OS SDK and Simulator) and getting up and running to build their first application. As part of this presentation I wanted to build a more in depth application then the basic hello world app. Also wanted...

Read More

Workaround for PPSChannel error when running QNX PlayBook specific APIs on the Desktop

First thing is to note this is a workaround and might not work in the future or might not cover all the errors you might see. Take the simple use case of creating an AIR application for PlayBook and with a qnx.ui.text.TextInput component in the display list. Because the qnx.ui.text.TextInput class allows you to define which PlayBook KeyboardType is shown on the device it must call out to a PlayBook specific AIR API. If you try and run this...

Read More

QMXML and as3viewnavigator for the PlayBook

I continue to play with different ideas around using QNX (ActionScript 3 only classes) with MXML (non-Flex MXML) in a project called QMXML. My co-worker, Piotr Walczyszyn, at Adobe posted some classes to that provide view based navigation in ActionScript 3. I decided to extend his classes and make them work with QMXML. The source code for the examples below is on https://github.com/renaun/QNXUIExamples/ViewNavigator. View based navigation allows...

Read More

PlayBook QNX AudioManager Example

I wanted to show how to use another QNX AIR API, specifically the class AudioManager. It provides a singleton instance of the AudioManager which gives access to the available inputs and outputs on the device. You can then set the levels and mute state of both input and output. In the example code project QNXAudioManager it plays a local mp3 that is bundled with the application. It also displays the different event messages that are fired while...

Read More

Exploring the PlayBook application’s blackberry-tablet.xml

UPDATE: RIM has provide documentation on the blackberry-tablet.xml located here. With the release of the BlackBerry Tablet OS SDK for Adobe AIR Beta 3 (0.9.2) developers have access to a new PlayBook application descriptor file called “blackberry-tablet.xml”. This file has to be named exactly “blackberry-tablet.xml” and be placed in the root of the application structure, basically along side the AIR typical Xxxx-app.xml...

Read More