Developing Android Applications with Adobe AIR [117]
Grant Skinner’s PerformanceTest
Grant’s PerformanceTest class is a tool for doing unit testing and formal test suites. Some of its core features are the ability to track time and memory usage for functions, and the ability to test rendering time for display objects. The class performs multiple iterations to get minimum, maximum, and deviation values, and it runs tests synchronously or queued asynchronously.
The class returns a MethodTest report as a text document or XML file. It can perform comparisons between different versions of Flash Player and different versions of the same code base. More information on this class is available at http://gskinner.com/blog/archives/2010/02/performancetest.html.
Native Tools
The Android Debug Bridge (ADB) logcat command grabs information from the device and dumps it onto a log screen via USB. A lot of information is provided. Some basic knowledge of the Android framework will help you understand it better. Refer to Chapter 3 for more information on native tools.
Conclusion
The ActionScript language is constantly evolving. With mobile development, the emphasis has been on performance, especially with optimization in the JIT, the garbage collection policy, and leveraging hardware.
Keep informed so that you can take advantage of it as it improves, along with (and independent of) the editing tools.
Index
A NOTE ON THE DIGITAL INDEX
A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.
Symbols
2.5D objects, 2.5D Objects
A
AAC (Advanced Audio Coding) files, Compression, Accessing Metadata, Codecs
accessing metadata, Accessing Metadata
dynamic loading via NetStream class, Compression
accelerometers, What Is a Motion Sensor?, What Is a Motion Sensor?
(see also motion sensors)
ACCESS_COARSE_LOCATION permission, Geolocation Classes
ACCESS_FINE_LOCATION permission, Geolocation Classes
ACCESS_NETWORK_STATE permission, Geolocation Classes
ACCESS_WIFI_STATE permission, Geolocation Classes
ActionBar control, Flash Builder ViewNavigator
ActionScript, Assumptions This Book Makes, New ActionScript Libraries
libraries for mobile development, New ActionScript Libraries
Activity Manager, Opening and Closing an Application and Saving Data
activityLevel, The Microphone
ADB (Android Debug Bridge), Installing the Android Debug Bridge, Using the logcat Command, Accessing the device’s filesystem, Native Tools
device filesystem access, Accessing the device’s filesystem
logcat command, Using the logcat Command
ADL (AIR Debug Launcher), What Is in the AIR SDK
Adobe development tools, Installing the Adobe Development Tools
ADT (Air Developer Tool), What Is in the AIR SDK
AIR (Adobe Integrated Runtime), AIR, Installing the AIR Runtime on an Android Device, What Is in the AIR SDK, Functionalities Not Yet Supported, AIR on the Desktop Versus AIR on Android, Mobile Flash Player 10.1 Versus AIR 2.6 on Android, How Does AIR Run on Android?, Starting AIR with intent, AIR Access to Android APIs
access to Android APIs, AIR Access to Android APIs
AIR SDK, What Is in the AIR SDK
Android devices, installing to, Installing the AIR Runtime on an Android Device
desktop versus Android, AIR on the Desktop Versus AIR on Android
features not yet supported, Functionalities Not Yet Supported
on Android, comparison with Flash Player, Mobile Flash Player 10.1 Versus AIR 2.6 on Android
operation on Android, How Does AIR Run on Android?
starting with intent, Starting