www.robrusher.com Flex and AIR instructor and ACE Author of "AIR: Desktop Applications with Flex"
Turning YAFA from Flex to AIR (www.keaura.com/photosearch/)
Add Network Detection
SDK classes URLMonitor (port 80) or SocketMonitor (alternate ports) addEventListener - StatusEvent.Status Invoke start() method
example: listen for the flickr API using the urMonitor The monitor will continually check for a connection and then mark it as enabled or disabled.
Add Native Windows (that you will see in your task bar)
SDK classes - NativeWindow - NativeWindowInitOptions MXML component - Window addEventListener - Event.Closing (also a Closed event) - NativeWindowBoundsEvent.Resizing Interactive full-screen - StageDisplayState
Add HTML Content
Open source WebKit (webkit.org) - Also used by Safari SDK class - HTMLLoader MXML component - HTML
Add File System Access
SDK classes - File - FileStream - FileMode Synchronous or Asynchronous
Add Embedded Database (SQLLite)
Look for SQL Lite Administrator http://sqliteadmin.orbmu2k.de/
SDK classes - SQLConnection - SQLStatement - SQLResult Synchronous or Asynchronous
Other Things You Can Add
Native Menus Taskbar, system tray and dock icons Application update User presence Encrypted local storage PDF and DRM support
Check the AIR Marketplace for sample apps (that will often also provide source)
There are no comments for this entry.
[Add Comment]