The AIR database access API is asynchronous. This works well for executing expensive queries without blocking the user interface. However, sometimes you may need to run a series of short and interdependent statements, and in that case, executing each statement asynchronously and independently can make your code difficult to manage. Consider an example where you [...]
Archive | June, 2007
AIR-to-Desktop Drag-and-Drop: Two Simple Utility Classes
One of the exciting features of AIR is that it enables drag-and-drop between your Flex applications and the desktop: For example, you could drag a chart from your Flex application and drop it on your desktop as a JPG, or directly inside a Word document. Similarly, you could grab some rows from a Datagrid and [...]
SalesBuilder on AIR: Local Database, Data Sync, and Native Drag-and-Drop
NOTE: This version of the application is now obsolete. I posted a new and significantly improved version here. SalesBuilder is a sample Sales Force Automation application that allows you to work offline (using the SQLite database embedded in the AIR runtime), and synchronize data with the server when you are back online. In addition to [...]
SQLite Admin Application for AIR
UPDATE: This version is now obsolete. A new version is available here. I put together this SQL Admin application to help me manipulate my SQLite databases when working with AIR. The application is based on the SQL Admin for Google Gears I posted recently. This is an early version and is not fully functional. For [...]
Flex and Google Gears: sales force automation application with offline capabilities
As a follow up to my previous post, here is the sample Sales Force Automation application I built to demonstrate the Flex/Google Gears integration, and that Kevin Lynch demonstrated during the Google Developer Day keynote last week in San Jose. SalesBuilder uses the Google Gears Database API to save data to an embedded SQLite database, [...]