Android Development with Flash: Your Visual Blueprint for Developing Mobile AppsISBN: 978-0-470-90432-9
Paperback
352 pages
October 2010
This is a Print-on-Demand title. It will be printed specifically to fill your order. Please allow an additional 10-15 days delivery time. The book is not returnable.
|
1 GETTING STARTED WITH ANDROID DEVELOPMENT.
Introducing Android Devices.
Introducing the Development Tools.
Introducing the Available APIs.
Check What APIs Are Not Available.
Become an Android Developer.
Get the Android SDK.
Get the Android Eclipse Plug-in.
Enable USB Debugging.
Create an Android Virtual Device.
Start the Emulator.
2 GETTING STARTED WITH FLASH CS5.
Using the Actions Panel.
Create a Skeleton Custom Class.
Set the Source Path.
Create MovieClips.
Create Buttons.
Edit Properties in Flash.
Add Objects to the Stage with Code.
Remove Objects from the Stage with Code.
Work with Events.
Using the Drawing API.
Using Flash CS5 Help.
3 DEVELOPING YOUR FIRST APPLICATION.
Create a New Project.
Configure Publish Settings.
Set Your Application Output.
Create a P12 Certificate.
Compile from Flash Professional CS5.
Compile from the Command Line.
Install Your Application on Your Device.
Update Your Version Number.
Set Application Permissions.
Set a Custom Application URI.
4 DESIGNING YOUR APPLICATION.
Mobile User Interface Guidelines.
Understanding Screen Resolutions.
Create Full-Screen Applications.
Understanding Screen Orientation.
Create Usable Hit States.
Understanding Layout.
5 HANDLING INTERACTION.
Create Button States.
Respond to Touch Events.
Track Multiple Touches.
Respond to Zoom Events.
Respond to Rotate Events.
Respond to Pan Events.
Respond to Swipe Events.
Listen for Accelerometer Events.
Determine If the Accelerometer Is Available.
Determine Device Orientation.
Detect Which Way Is Up.
Filter Accelerometer Data.
6 WORKING WITH IMAGES.
Prepare Your Images.
Import Images.
Display Images.
Bundle Images with Your Application.
Load Images at Runtime.
Create Images Dynamically.
Save Images to the Camera Roll.
Select Images from the Camera Roll.
Display the Camera.
7 WORKING WITH SOUND.
Import Audio into Your Project.
Choose an Audio Codec.
Bundle Sounds with Your Application.
Load Sounds at Runtime.
Play Sounds.
Stop Sounds.
Set the Volume of a Sound.
Visualize the Sound Spectrum.
Access the Microphone.
8 WORKING WITH VIDEO.
Explore Available Video Formats and Encode a Video File.
Convert Videos.
Embed a Video.
Bundle a Video with Your Application.
Load a Video.
Buffer a Video.
Control a Video.
Set the Volume of a Video.
9 WORKING WITH TEXT.
Embed Fonts in Your Application.
Create an Input TextField.
Create a Password TextField.
Using TLF TextFields.
Create a Scrollable TextField.
10 SAVING STATE.
Create a Local SharedObject.
Write to a SharedObject.
Load Data from a SharedObject.
Connect to a SQLite Database.
Create a SQLite Table.
Insert Data into a SQLite Table.
Select Data from a SQLite Table.
Update Data in a SQLite Table.
Delete Data from a SQLite Table.
Handle Application Exits.
Save Application States.
Handle Back and Menu Button Presses.
Handle Application Deactivation.
11 WORKING WITH FILES.
Reference Files and Directories.
Write Files.
Read Files.
Update Files.
Append Files.
Handle Files Synchronously.
Copy Files.
Load SWF files.
12 USING THE LOCATION AND WIFI FEATURES.
Retrieve Your Current Location.
Map Your Location with Yahoo!
Map Your Location with Google.
Determine Your Speed.
Check for an Internet Connection.
Set the System Idle Mode.
Display Web Pages.
13 USING SPECIAL URL PROTOCOLS.
Make Phone Calls.
Open the Mail Application.
Open the Maps Application.
Open the Messaging Application.
Play a YouTube Video.
14 INTEGRATING WITH THIRD-PARTY SERVICES.
Submit Updates to Twitter.
Display Ads with Smaato.
Track with Google Analytics.
Display Ads with AdMob.
15 OPTIMIZING PERFORMANCE.
Optimize Your Display List.
Manage Mouse Events.
Understanding cacheAsBitmap.
Understanding cacheAsBitmapMatrix.
16 DEBUGGING YOUR APPLICATION.
Show Your Trace Statements.
Create Breakpoints.
Using the Flash CS5 Debugger.
Understanding the Debug Console.
Understanding the Variables Panel.
Debug with the Android Eclipse Plug-in.
17 DEPLOYING YOUR APPLICATION.
Take Screenshots of Your Application on Your Device.
Create an Application Icon.
Publish Your Application for the Android Market.
Upload Your Application to the Android Market.
APPENDIX A ACTIONSCRIPT CLASS REFERENCE.
INDEX.