Wednesday, May 4, 2011

Actionscript components for Blackberry


ActionScript components

While the BlackBerry® Tablet OS SDK for Adobe® AIR® extends the Adobe® ActionScript® API in many important areas, you must use the ActionScript 3.0 APIs for data storage, networking, and device sensor functions. The following table lists some resources that you can use to learn more about ActionScript APIs.
Component
Description
Data storage
The BlackBerry Tablet OS supports the following approaches to data storage
  • Local shared object (in the flash.net.SharedObject package)
  • Encrypted local store (in the flash.data.EncryptedLocalStorepackage)
  • File system (in the flash.filesystem package)
  • SQLite® (in the flash.data package)
Network communication
You can use the flash.net package to send and receive data over a network connection.
Accelerometer
You can use the flash.sensors.Accelerometer class to register an event listener for accelerometer events. The BlackBerry Tablet OS reports movement in three perpendicular planes relative to the device.
Geolocation
You can use the flash.sensors.Geolocation class to register an event listener that processes changes in the geoposition of the device. For more information, see Detecting geolocation changes in the ActionScript 3.0 Developer's Guide.

No comments:

Post a Comment