Canadian Cybertech assists with Clean Technology adoption ranging from software systems architecture, system design and advancement of user experiences/security. We have over 25 years of experience helping companies gather the full and auditable requirements for IT projects to ensure success.
Monday, November 15, 2010
Free Android App with source code
The full source code is downloadable from here. Have fun with it! Please tweet this (button is below) if you think others might like it. More to follow if we are encouraged properly!
Thursday, November 04, 2010
AIR for Android Tutorial (Part 2)
Untitled from Technoracle on Vimeo.
Source Code: (download)
Thursday, May 20, 2010
AIR 2 for Android Public Beta!
By joining this Public Prerelease program, you will have access to a beta version of the AIR SDK with support for Android. Before signing up for this program, there are currently limitations that you should be aware of:
- In this early stage of development, you should be comfortable with using command line tools.
- Flash Professional CS5 now has a new extension that allows developers to publish directly to Android-powered devices. The extension adds a new AIR for Android publish setting that works in the shipping and 30-trial versions of Flash Professional CS5.
- The Flex 4 framework has not yet been optimized for mobile devices; for this prerelease, we recommend building applications using ActionScript only. We're currently working on creating a highly productive, cross-platform solution for mobile development using Flash Builder and Flex, which we expect to be available in public preview by the end of this year.
- You will be able to build and test AIR applications on Android devices, but you will not be able to deploy on the Android Market or share them with end users
- You will be subject to terms of an NDA which allows you to display your application publicly, but you will not be permitted to disclose anything outside of Licensee’s own personal development experiences of a beta Android application(s) using this beta AIR SDK.
If you are interested in joining our Prerelease program, just go here:
http://labs.adobe.com/technologies/air2/android/
I'm going there now!
Thursday, October 08, 2009
Video Tutorial - 3D effects in Flex/AIR in 5 minutes
Wednesday, September 30, 2009
Flex/AIR Video Tutorial - working with Audio
Wednesday, September 24, 2008
MAX AIR Boot Camp filling up fast
Also - if you are attending, we might get through the content before the time is up (it is a 3 hour mega lab session and all hands on coding). Accordingly, in true community style, James and I would like to ask you to suggest additional topics we can address. So far the outline is as follows; comments are also welcome:
Adobe AIR Boot Camp
Duane Nickull + James Ward
Teachers Aides: Andrew Spaulding (need 2 more).
Audience Assumptions
- This is a 101 Boot camp to introduce people to AIR
who have never used it before or want to go past Hello World.
- Attendees have Adobe’s AIR runtime installed
- Attendees are roughly familiar with XML syntax rules
- Attendees have Flex Builder 3 installed
Description
Join us for an introduction to working with Adobe AIR, in which we will build several projects from start to finish. Projects include "HelloWorld.air," a video player, a "full screen" application, a web service client, a simple example of how to make remote calls, a chromeless window application, writing data to and from a hard disk, working with XML (including RSS feeds), and packaging AIR applications for later distribution. Course materials include the presentation, all code for the projects, and a step-by-step written tutorial.
Topics
An overview of AIR
Architecture
Runtime Architecture
Development environment
Code, Code and more Code!
Projects:
1. Advanced Hello World (learn data binding, compiling, using [Binding], variables, using AS3 and MXML in a project, and much more
2. Chromeless applications - building applications with no system chrome
3. Video Capture and manipulation - use a stream
4. Video playbakc and full screen controls
5. Working with Audio and Events - event handling, audio playback controls
6. HTML - using HTML within an AIR app
7. Reading and writing to the local disk
8. Working with XML - all about E4X, pre-requisite to learn how to manipulate RSS and Web Services call returns.
9. Web Service Introspection and Consumption
10. Exporting, Signing, Distributing and installing AIR applications
Extra projects (we may not get to these if time goes slowly)
11. MySQLite
12. Using NativeWindowing API's
Wednesday, July 23, 2008
OSCON 2008 and New Flex/AIR Course for GeoWeb
Yesterday we delivered a new 3+ hour course on Flex and AIR map based RIA development at GeoWeb 2008 (one of the best conferences in the world!). After completing the writing of the course and giving it once, we really want to offer it up to the community. It takes attendees through 9 projects with lots of coding to demonstrate concepts related to Geo-spatial mashups/RIAs in Flex and AIR.
Directories:
~/AttendeeProjects - the starter projects with the code completed and comments where students have to add code
~/CompleteProjects – the solutions source code
~/TeachersDocument (PDF and DOCX) – the manual for anyone wanting to teach this course. It has a lot of cut and paste code in it to speed up solutions.
~/Presentation (PPT and PDF) - the presentation slides
It is fairly well documented to allow anyone to present but if you find anything missing, please feel free to contribute. If you want the course, contact me at dnickull at adobe dot com. We'll send it out for anyone to use.
Thursday, June 19, 2008
Duane's World TV - Episode 4 is live!
The code and tunes segment works with an associative array (also multidimensional array) and binding it to a Flex chart. The source code will be made available to anyone interested by emailing me at dnickull at adobe dot com.
Enjoy!
Tuesday, June 17, 2008
AIR 1.1 is out!
1. AIR has been translated and can now be localized into ten additional languages (English only for 1.0). The new list of languages now includes Japanese, French, German, Traditional Chinese, Simplified Chinese, Korean, Spanish, Italian, English, Russian, and Brazilian Portuguese. I presume this probably also translates into where the most AIR activity is so if you want your language supported, get active. DISCLAIMER: I am just guessing.
2. Coinciding with the above language support, the AIR APIs and file formats have been updated to enable AIR-based applications to be localized and International keyboard input is now supported. I haven't had time to play around with this yet but will try to get some code samples together in the days to follow.
There is also added support for localizing the name and description attributes in the application descriptor file. This means that the app name etc. will be available in the localized language. Also introduced is support for localizing error messages, such as SQLError.detailID and SQLError.detailArguments, in the SQLite database and the addition of a Capabilities.languages property to obtain an array of preferred UI languages as set by the operating system. Note that the <mx:html> button labels and default menus, such as context menus and the Mac menu bar, have been localized to all supported languages as well. C'est une nouveux dialog en Francais ici!

3. AIR 1.1 is GB18030 certified. GB18030 is the registered Internet name for the official character set of the People's Republic of China (PRC) superseding GB2312. This character set is formally called "Chinese National Standard GB 18030-2005: Information technology -- Chinese coded character set".
4. Security Upgrades. A new certificate migration feature is available that allows developers to migrate their applications between different digital signing certificates. Read the documentation on how this works.
Developers - If you use Flex Builder 3 to build Adobe AIR applications, you will need to manually update the SDK. Instructions on how to perform a manual update are described in the Flex Builder TechNote. You can find out more about Flex 3 and the Adobe AIR 1.1 release on the Adobe Developer Connection site.
While AIR 1.1 is a dot release, it represents a significant step forward in AIR capabilities, and its development required a significant effort from the core AIR team and from teams around the company. The Adobe AIR team deserves a huge round of applause.
Tuesday, April 22, 2008
Albelli Launches Photo Book Software on Adobe AIR
http://www.albelli.com/photobucket
Their application is written in Adobe AIR and can be downloaded. You can use it to build a custom photo album using your own photos and then order it to be printed and delivered to your house. This is a great mashup and has some very interesting technology behind it.
I first ran into Joris at Web 20 Expo in Berlin last year. Watch these guys and visit the site for sure.
Friday, April 11, 2008
Distributing the AIR Runtime
We have a ton of information on this on the website (including a FAQ).
In general, the license allows you to:
* distribute the runtime installer on a closed intranet
* distribute the runtime installer on fixed media, such as CD or DVD Roms.
* distribute and launch the runtime installer as part of another native installer
In general, the license does not allow you to:
* modify the installer, or files to allow AIR application to run without having the runtime installed on the user’s system.
* distribute DLL’s or other files from the runtime directly within an application
Note: Installing the Adobe AIR Runtime silently, deploying via SMS or Group Policy Objects is currently not a supported option. If you require installing the runtime silently please send an email to license-air-silent@adobe.com so that we can notify you when that feature becomes available.
Wednesday, March 19, 2008
Flex Builder Free for Education!
The offer:
Effective March 3, 2008 all education customers, including staff, faculty and students can now download Flex Builder 3 Professional for free. This offer is for download-only product and requires a valid serial number to activate the trial version of Flex Builder. Education customers will need to register to receive their free Flex Builder serial number at www.flexregistration.com
Eligibility
Customer Service
Tuesday, February 26, 2008
Adobe joins SQLite! More Open Source/Standards moves!
As reported at http://opensource.adobe.com, Adobe has joined with Mozilla and Symbian to support the work of the SQLite Consortium to help ensure free, open access and development of SQLite. Adobe uses SQLite within many of its products and recognizes the importance of providing support for technology and tools that are open source because of its value to the entire developer and software communities.
This follows on the heels of a rash of Open Source and Open Standards initiatives by the software company in the last few years. Adobe donated the PDF standard to ISO which is now ISO standard 32000. Adobe has open-sourced the core Flex SDK and Blaze Data Services under various GNU based licenses. It was less than 24 months ago when we also donated core Actionscript Virtual Machine code to the Mozilla Tamarin project. We have also pledged to contribute back to the Webkit HTMl engine project when we work on that code base.
All of this makes me proud to work for a company that understand the importance of the software community.Monday, February 04, 2008
Flex, AIR teams at Adobe Rock!!!
Just making a great product isn't the whole story. The team I work on (Technical Evangelism) is probably the most nit-picky group for any product team to cater to. On top of that, they have around 50 beta testers who are regularly dishing out feature requests, bug reports, and a host of other demands on their minds.
There are hundreds of others who I cannot name here on my blog who have worked on Flex Builder 3. To honor their work, take the Flex Builder 3 public beta 3 for a test drive. If you want a mini-cookbook of Flex and AIR projects, with full source code, please email me (dnickull at adobe dot com) and I'll send it over. It also has a script to show you how to take full advantage of the new features in Flex Builder 3 and the latest AIR 1.0.
Friday, October 19, 2007
How to install and run Adobe LiveCycle Data Services ES 2.5.1 on Mac OS X

Before you read how to do this, please understand a few things. First, Adobe LiveCycle Data Services ES is not supported on Mac OS X. In fact, we do not even release it (but don’t worry, it is not hard to install). If you do not know what LiveCycle Data Services ES is, it used to be called Flex Data Services. It is now part of the LiveCycle Service platform and has lots of great features. It has a really cool server component that can do wicked messaging stuff to round trip between a J2EE environment and Adobe Flex, AIR, HTML or AJAX applications.
Why? I ported this over and posted this as a result of Adobe MAX 2007 in Barcelona. Macs were everywhere. At JavaOne and MAX, I suspect that about 50-60% of the developers are now using Macs. We used Macs in our hands-on training rooms and they got taken up first.
Here are the full instructions for getting LiveCycle Data Services ES running on a Mac. Please don’t complain if it doesn’t work. We don’t support it (currently -- but if you’re interested tell me and I’ll work on product management to see if we can get it supported) and we’re on our own for now. Here are the steps:
1. Go to JBoss.org and download the JBoss 4.2.1GA release. Unzip it somewhere (I put it on my desktop).
2. Grab a terminal and navigate to the

3. Grab Safari and go to http://localhost:8080 to verify it works. You should see a screen welcoming you to JBoss app server.
4. If it worked, stop the application server by going to the
5. Go to http://www.adobe.com/products/livecycle/dataservices/ and follow the steps to download LiveCycle Data Services ES version 2.5.1. Make sure you select the AIX version. When you finish downloading it, click the file and install it. (note: it does install even though Adobe does not claim it installs). It will create a directory on the Mac at

6. Now the important part. Expand the LiveCycle Data Services ES 2.5.1/resources/security/tomcat/ directory then copy the <lcds_install_root>/resources/security/tomcat/flex-tomcat-common.jar and <lcds_install_root>/resources/security/tomcat/flex-tomcat-server.jar into the jboss_root/server/default/lib folder of your JBoss install. This will allow custom authentication to work.
7. From the same location, copy <lcds_install_root>/resources/security/tomcat/context.xml to your JBoss under the WEB-INF directory or adjust an existing context.xml to add the <valve>. You’ll have to open the context.xml files to compare them. Copying works best if you have a fresh install of JBoss.
8. Expand your <lcds_install_directory> and copy the following files:
flex-admin.war flex.war samples.war
9. Paste those samples in the <jboss_install_directory>/server/default/deploy directory.
10. Restart JBoss as described above (Step 2). Get your browser and go to http://localhost:8080/samples and you should see this:

Now try the samples. If they work you have succeeded! Congratulations.
Running it on a Mac, I noticed several advantages. First, the start up time is really fast -- it started in 28 seconds. For contrast, at MAX 2007 in Barcelona, the same software on a PC with 2 GB RAM took about 1:35 to start. I have 4 GB of RAM on an Intel Core 2 Duo machine so it gives it a small advantage.
Enjoy! Let me know if you thought this was cool.
Thursday, August 09, 2007
Vancouver RIA/Flex Camp

The Vancouver RIA Camp is filling up. We have now added a code camp to the schedule. Here is a video of a similar event in San Francisco (above). The schedule is below.
Wednesday, July 25, 2007
Vancouver Flex, AIR and RIA training date set!
www.massivetechshow.com/adobe/.
This day will be all about RIA development and feature training in Flex, Adobe AIR (formerly Apollo), AJAX and other technologies. Nitobi's Andre Charland has agreed to be one of the presenters as well as Ryan Stewart from Seattle. Ross Ladell will also be there and hopefully do some Flash stuff.
Register now - space is *very* limited.
If you can't make it to this one, also consider MAX 2007 as the place to be for 2007.
Monday, July 16, 2007
Vancouver Flash/Flex/AIR event!!
Thurday July 19th the Vancouver Flash User Group is hosting an evening
with Paul Ortchanian. We're flying Paul up from San Francisco to give
a 2 hour presentation on getting the most out of the powerful
BitmapData class. Paul will also be taking us through a number of the
flash experiments on his site, www.reflektions.com .
This event is FREE, but you will need to create an account on the
Flash User Group's meetup website: You can get more information on the
event here: http://flash.meetup.com/110/calendar/5982036/ .
The VFUG website is www.flashinvan.com.
Wicked stuff. Vancouver is really starting to take off. Our August 30 RIA training is still in discussion but we are doing everything we can to put a full day together.
Thursday, July 12, 2007
Adobe on AIR tour 2007 Vancouver. Ted’s Porsche upgrade / Nitobi rocks da house!
The 2007 Adobe on AIR Bus Tour is now on its third city stop (Portland). This tour will keep the bus driving all summer long so check it out when they come to your town. This is one show you don’t want to miss. It reminded me of my old rock and roll days touring in a metal band. Of course there are some differences.
First – the guys on the bus play Guitar Hero rather than real instruments. Kind of cool given the instant gratification but as an accomplished musician (you can download my latest music for free here), I couldn’t bring myself to try it. Besides, you need long hair to really be a guitar hero right? I seemed to have thought so back in the 1980s (yes - that is me on the left):

Second – they don’t have to lug Ampeg 8x10 cabinets, Marshall Stacks, and drum kits up three flights of stairs. Trust me – this is a good thing.
They also have bloggers and other new media rather than traditional paparazzi. The media shape of the world has changed forever. This is also a good thing.
Last night the bus stopped in Vancouver, my home town. The venue was pretty surreal. We were in a greenhouse on the third floor of a downtown bar. I am not sure what rocket scientist built this without air conditioning, but last night was very hot. Finnish sauna makers should have been there to take notes.
The crowd was awesome! Vancouver developers and architects came out in droves and stayed for the entire five hours. Even the girls at the bar got into the act. Here is one wearing a Nitobi sticker.

Before the event, fellow Porsche owner and Adobe Evangelist Ted Patrick took me up on my offer to let him drive my Porsche 911 Twin Turbo with all the Ruf accessories. As you can see by this photo, Ted now wants to upgrade his Boxster. Ahh – there is no substitute! Non-Porsche owners will not understand this.

Anyways, the crowd on hand were awesome! Here is a shot from halfway back when a ton of people still could not get in the room. Standing room only. Mike Chambers, Kevin Hoyt, and Mike Downey all gave top-notch presentations which the developer crowd loved. Being on last, I was worried that there was going to be no way this crowd would stay here five hours but they did.

Then Andre Charland got up and blew everyone away. Nitobi's two demos and code samples include a Mac style dock with magnified apps built in AIR and a SalesForce.com offline AIR application with synch capabilities. The scary thing is both of these were written in so few lines of code. Andre is a genius and has the ability to consistently come up with clever little apps with his cohorts James, Alexei and Dave.
I am actually very surprised that Nitobi still exists as a stand alone company. I personally think they are the #1 acquisition target in the tech sector today. Profitable, on the leading edge, four evangelists and probably the coolest corporate culture in the industry ('Dre claims he got in 60+ days in Whistler last season ;-). DISCLAIMER: I am on the Advisory Board of Nitobi and have a financial interest. In the interest of transparency, I am following Redmonk's lead on my blog and disclosing any conflicts of interest to help readers come to their own conclusions.
Andre then proceeded to have several beers and make funny faces in front of cameras while showing off his new iPhone.

He was immediately joined by others:

Eventually even Ross Ladell (Blast Radius) and Adobe's own Suzanne got into the fray:

I'll leave it to your imagination what happened after a few more drinks in the hot greenhouse.
Anyways, I went on last trying in vain to measure up to the others and managed to squeak out a 20 minute summary on Adobe's technology platform architecture, showing its relevance to Web 2.0, SOA etc. As promised, the slides are available here. I only presented the first 15 or so due to time, but I will be recording a session with these later in the month for public consumption.
Wednesday, January 24, 2007
Air Canada goes too far ($2.00 for a blanket)
What I cannot understand is why Air Canada charged me two dollars for a blanket rental. Honestly, does it make that much of a difference? Can it even be rationalized given they are a public company and have to hire accountants to conduct blanket inventory and account for blanket revenues?
I am also pissed about this because the damn airplane was *really cold*. I had enough clothes on that I was NOT cold outside the airport in Vancouver, but got chilled during the flight. I initially resisted buying a blanket but gave in 3 hours into the flight. It seems however, I was too late; I seem to have picked up some sort of cold myself as a result. Feh!!!
If I get pissed off and don't use Air Canada for the next 6 months (statistically, that is about $30-40,000 worth of business from me alone), how many blankets do they have to sell to recoup that loss? I guess that is 20,000 blankets minus the costs of accounting for blankets (do they charge GST on domestic flights?). I am interested to know why and I am hereby inviting someone from Air Canada to comment on this blog and tell me why. In the meantime, I am not booking any new flights on Air Canada until I get an answer.
Add a comment if you join me in this boycott.

