This page is an archive of my old blog. Please visit DavidTucker.net for my current blog.
This site is no longer being maintained and commenting is disabled.


AIR 1.5 Cookbook Highlight – Browser API

Blog Series: The AIR 1.5 Cookbook contains many useful recipes. I want to take some time to highlight some of the useful (and cool) recipes that are included in the book.

Once your AIR application is complete, there are still many additional factors that you will have to consider, such as how users will install your application and how the AIR application will integrate with your site. Adobe provides the Browser API to allow browser interaction with your AIR application. Chapter 17 of the AIR 1.5 Cookbook covers the browser API and touches on topics like:

  • Detecting the Installed Version of AIR
  • Launching an Application from the Browser
  • Installing an AIR Application from the Browser
  • Using the Seamless Install Badge

By using these tools, you can create an integrated experience for your AIR application that works with your current site.

You can order your copy of the AIR 1.5 Cookbook from Amazon today (they will be shipping soon). You can also start to look for the book in your local bookstore over the next week.

AIR 1.5 Cookbook Highlight – Update Framework

Blog Series: The AIR 1.5 Cookbook contains many useful recipes. I want to take some time to highlight some of the useful (and cool) recipes that are included in the book.

One of the items I listed in my 10 Common Mistakes When Building AIR Applications article was “Not including update capability in an application”. Previously, we had to develop a mini-framework to handle the update process for our AIR applications, but as of AIR 1.5, the Adobe AIR Update Framework is included with the SDK. This makes scripting the update process quite a bit easier.

Chapter 16 of the AIR Cookbook is devoted to the Update Framework. It covers the two different ways that you can integrate with it: using the included UI, and creating a custom UI for the update process. After reading chapter 16, you will have all of the tools that you need to create an update process that fits your application – and remember – never create an AIR application that doesn’t have some type of update mechanism included with it.

You can order your copy of the AIR 1.5 Cookbook from Amazon today (they will be shipping soon). You can also start to look for the book in your local bookstore over the next week.

AIR 1.5 Cookbook Highlight – Encrypted SQLite Databases

Blog Series: The AIR 1.5 Cookbook contains many useful recipes. I want to take some time to highlight some of the useful (and cool) recipes that are included in the book.

One of the most significant new features in Adobe AIR 1.5 is the addition of the encrypted database. This allows you the ability to create applications that utilize structured sensitive information without worry that the sensitive information can be read or accessed outside of your application. Previously this was not possible in AIR (you could only store encrypted data in the Encrypted Local Store).

Chapter 10 of the AIR 1.5 Cookbook includes two different recipes dealing with the encrypted database support. The first recipe shows you how to create a unique and random key that will be used to secure your database. The second recipe shows you how to secure data with a user entered password (which also includes an example of how to re-encrypt a database if the user changes the password). Both of these recipes walk you through the entire process of creating and encrypting the database.

You can order your copy of the AIR 1.5 Cookbook from Amazon today (they will be shipping soon). You can also start to look for the book in your local bookstore over the next week.

AIR 1.5 Cookbook Highlight – Pixel Bender

The AIR 1.5 Cookbook contains many useful recipes. I want to take some time to highlight some of the useful (and cool) recipes that are included in the book.

One of the cool tools that was given to developers with AIR 1.5 was the ability to use Pixel Bender filters inside of AIR applications. While many of you know that Pixel Bender filters can be used to manipulate images, some of you may not know that they can also be used for computationally expensive calculations (such as are used in audio filters, etc…). With the possibilities, you will certainly want to have a good understanding of how to incorporate these filters into your application.

Chapter 3 of the AIR 1.5 Cookbook contains a recipe that applies a Pixel Bender filter to the application window, and it uses the position of the window on the monitor to adjust the effect of the filter. Once you have mastered working with the recipe in the book, it would be quite easy to utilize any Pixel Bender filter.

You can order your copy of the AIR 1.5 Cookbook from Amazon today (they will be shipping soon). You can also start to look for the book in your local bookstore over the next week.

AIR 1.5 Cookbook Sample Chapter

As I announced earlier, the AIR 1.5 Cookbook has been released today at Max (and will be available in bookstores soon). However, you can get a sample chapter from the book for free at the Adobe AIR Developer Center.

Adobe AIR Developer Center: AIR 1.5 Cookbook excerpt: Applications and native window menus

Enjoy Max – See You Next Year

I have had several people ask me if I am at Max this year. The answer, “No”. While this will be a huge event – and will have many important announcements, we are preparing for a major event of our own here at home. Within the week my wife Shannon is expected to give birth to twins – and we will both enter the world of parenthood (I fully expect that they will be great developers since they are being born the week of Max :) ). I hope everything goes well at Max – and I will see you all next year (as I will be back on the conference circuit then).

My Book is Out – Adobe AIR 1.5 Cookbook Released

In addition to AIR 1.5 being released today, the Adobe AIR 1.5 Cookbook is also being released. This book will be an essential resource for anyone doing AIR development – as it also includes the new AIR 1.5 features. This book is an excellent resource for beginners and advanced AIR developers alike. If you have never touched AIR, this book can certainly get you started. In addition, we cover all development angles on this: Flash, Flex, and HTML / JavaScript.

Several great developers put a lot of hard work into this one. It was an honor to get to lead up a team that included Marco Casario, Koen De Weggheleire, and Rich Tretola.

If you are really interested in AIR 1.5 – this book will help you out. It covers such topics as working with the encrypted local database, pixel bender filters, some of the new Flash Player 10 features – as well as how to target AIR 1.5 in your application. In addition, the book does a great job covering all of the other AIR API’s such as:

  • The embedded SQLite database
  • File system support
  • Network monitoring support
  • Adobe AIR Update Framework (that is included in the AIR 1.5 SDK)
  • HTML Support
  • and much more…

The book is available at Max this week, and it will be available in bookstores very soon. You can pre-order your copy from Amazon today:

Amazon: Adobe AIR Cookbook: Solutions and Examples for Rich Internet Application Developers