Beginning Flash, Flex, and AIR Development for Mobile Devices
Home > Computing and Information Technology > Computer programming / software engineering > Beginning Flash, Flex, and AIR Development for Mobile Devices
Beginning Flash, Flex, and AIR Development for Mobile Devices

Beginning Flash, Flex, and AIR Development for Mobile Devices


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Easily create cross-platform, standalone native applications for mobile devices using AIR AIR allows you to develop the rich, creative, interactive media experiences for mobile applications. This easy-to-follow guide covers everything you need to know to create rich mobile applications using Adobe Flash Builder. Packed with examples, this book shows you how to build applications for mobile devices using a combination of ActionScript, the Flex framework and AIR. You'll discover how these applications are able to run across multiple mobile and tablet devices, targeting Google Android, Apple iOS, and BlackBerry platforms. Plus, hands-on instructions detail how to leverage the unique hardware and software features that are available to each various device and platform. Serves an ideal starting point for learning to create rich, interactive applications for mobile devices Includes hands-on examples that demonstrate how to best use the variety of hardware and software features Escorts you through mobile app concept to completion with sample code and step-by-step instructions Discusses such topics as enabling multitouch; developing for multiple screen sizes; maintaining app data; and much more Start building standalone mobile applications today with Beginning Flash, Flex, and AIR Development for Mobile Devices.

Table of Contents:
INTRODUCTION xxi CHAPTER 1: AN INTRODUCTION TO FLASH, FLEX, AND AIR 1 Adobe Flash 1 Flash on Mobile Devices 2 ActionScript 3.0 2 ECMAScript 2 Key Concepts 3 The Flex Framework 11 Flex 4.5.1 11 MXML 12 Spark Library Components 14 Data Binding 21 Flex Mobile Application Structure 22 Considerations for Mobile Development 31 Adobe AIR 31 Summary 32 CHAPTER 2: GETTING STARTED 35 Using Flash Builder 4.5.1 35 Working with Workspaces 36 Using the Flash Perspective 37 Using the Flash Debug Perspective 38 Using the Source and Design Views 39 Creating a Mobile Project Using Flash Builder 41 Creating a Hello World App Example 41 Defi ning Run Confi gurations 51 Running Mobile Applications on the Desktop 52 Running Mobile Applications on the Device 55 Summary 64 CHAPTER 3: BUILDING AIR APPLICATIONS FOR ANDROID, BLACKBERRY, AND IOS DEVICES 67 AIR Application Descriptor Files 67 Setting Properties in the AIR Application Descriptor File 68 Manually Editing the Application Descriptor File for the Hello World App 69 BlackBerry Tablet OS Confi guration 79 Packaging for Google Android 82 Packaging for Apple iOS 88 Packaging for BlackBerry Tablet OS 94 Updating AIR Applications 96 Retrieving Details from the Application Descriptor File 97 Using the Version Number 97 Summary 98 CHAPTER 4: TOUCH, MULTITOUCH, AND GESTURES 101 Multitouch Interactions 102 Determining Touch Input Support 102 Creating a Multitouch and Gestures App Example 103 Touch Event Handling 106 Registering Touch Events on Interactive Objects 114 Determining the Supported Touch Points 117 Gesture Interactions 117 Determining Which Gestures Are Supported on a Device 117 Gesture Events and Event Handling 118 Registering Gesture Events on Interactive Objects 119 Handling Gesture Events 124 Utilizing the Multitouch Panel in Device Central 128 Summary 128 CHAPTER 5: DEVELOPING FOR MULTIPLE SCREEN SIZES 131 Considerations for Multiple Screen Sizes 132 Pixel Density 132 Utilizing Device DPI 133 Adapting Content to Stage Size 138 Using the StageScaleMode and StageAlign Classes 138 Handling Stage Resize Events 140 Creating the Sprite Layout App Example 140 Handling Device Orientation 151 Using the StageOrientation Class 152 Using the StageOrientationEvent Class 152 Using Layouts in Flex 154 Aligning Items in Group Containers 155 Summary 174 CHAPTER 6: DEBUGGING APPLICATIONS 177 Setting Breakpoints 177 Global Error Handling 188 Handling Uncaught Errors 188 Try…Catch Statements 191 Stepping through Code 193 Summary 196 CHAPTER 7: WORKING WITH THE FILESYSTEM 199 Reading from the Filesystem 200 The File and FileStream Classes 200 Creating a Files Explorer App Example 203 Modifying Files and Filesystems 216 Creating New Files and Directories 216 Utilizing Browse Dialogs 229 Opening a Single File 230 Opening Multiple Files 230 Saving a Single File to a Location 236 Summary 237 CHAPTER 8: WORKING WITH DATA 239 Detecting Changes in Network Availability 239 Retrieving Data with URLRequest 240 Monitoring the URLRequest Object 240 Creating the Maintaining Data App Example 241 Using SQLite for Storing Data 247 Creating a SQLite Database 248 Summary 286 CHAPTER 9: WORKING WITH AUDIO AND VIDEO 289 Introducing the Open Source Media Framework 289 Creating a URLResource Object 290 Creating a MediaElement Object 291 Media Traits 292 Using the MediaTraitType Class to Identify Traits 293 Using the MediaPlayer to Play Media Elements 294 Using the MediaPlayerSprite Class to Play Media Resources 297 Handling Trait Events 298 Using an AudioEvent Object 298 Using the Flex OSMF Wrapper 300 Using the VideoPlayer Component 300 Creating a MediaPlayer Example 301 Summary 313 CHAPTER 10: UTILIZING DEVICE FEATURES 315 Using the Device's Camera 315 Using the CameraUI Class 316 Creating a Camera App Example 316 Capturing Sound Using the Device's Microphone 323 Using the Microphone Class 323 Using the SampleDataEvent Class 324 Creating a Microphone App Example 326 Utilizing the Device's Web Controller 336 Using the StageWebView Class 336 Creating a Browser App Example 338 Utilizing the Device's Geolocation Sensor 346 Using the Geolocation Class 346 Using the GeolocationEvent Class 347 Creating a Geolocation App Example 348 Summary 355 INDEX 359

About the Author :
Jermaine G. Anderson works within the Software Engineering department of BSkyB in London, where he manages an agile team responsible for short-form media and the online video platform. Jermaine G. Anderson works within the Software Engineering department of BSkyB in London, where he manages an agile team responsible for short-form media and the online video platform.


Best Sellers


Product Details
  • ISBN-13: 9781118193365
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: Wrox Press
  • Language: English
  • ISBN-10: 1118193369
  • Publisher Date: 14 Oct 2011
  • Binding: Digital (delivered electronically)
  • No of Pages: 304


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Beginning Flash, Flex, and AIR Development for Mobile Devices
John Wiley & Sons Inc -
Beginning Flash, Flex, and AIR Development for Mobile Devices
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Beginning Flash, Flex, and AIR Development for Mobile Devices

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!