Developing iOS Applications with Flex 4.5

Book description

Ready to put your ActionScript 3 skills to work on iPhone and iPad apps? This hands-on book walks you through the process of creating an Adobe AIR application for iOS devices from start to finish, using the Flex 4.5 framework. Move quickly from a basic Hello World application to complex interactions with iOS APIs, and get complete code examples for working with device components—including the accelerometer, GPS, camera, gallery, and multitouch display. This is an ideal resource for Flex developers of all levels.

  • Use Flash Builder 4.5 to create and debug a Flex Mobile project
  • Choose a layout option to determine which files Flash Builder autogenerates
  • Explore APIs that enable your app to interact with the camera, accelerometer, and GPS
  • Read and write text files, and create and write to an SQLite database
  • Interact with the browser, place calls, and create emails and text messages
  • Load content into your app with StageWebView
  • Design for iOS with specific UI elements while maintaining one code version for all mobile devices
  • Publish your app to an Apple iOS installer file with Flash Builder

Publisher resources

View/Submit Errata

Table of contents

  1. Developing iOS Applications with Flex 4.5
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. A Note Regarding Supplemental Files
    3. Preface
      1. Introduction to iOS
      2. Who This Book Is For
      3. Who This Book Is Not For
      4. Conventions Used in This Book
      5. This Book’s Example Files
      6. Using the Code Examples
      7. How to Use This Book
      8. Safari® Books Online
      9. How to Contact Us
      10. Acknowledgments
    4. 1. Hello World
      1. Create a Flex Mobile Project
        1. Testing with adl
        2. Preparing to Test on an iOS device
          1. Download and Install Certificate
          2. Add a Device
          3. Create a new App ID
          4. Create a Provisioning Certificate
        3. Testing on an iOS device
        4. Debugging on an iOS device
    5. 2. Application Layouts
      1. Blank Application
      2. View-Based Application
        1. View Life Cycle
      3. Tabbed Application
    6. 3. Configuration Settings
      1. Configuration Settings
      2. Automatically Reorient
      3. Full Screen
      4. Automatically Scale Application for Different Screen Densities
      5. Aspect Ratio
      6. Additional Configuration Settings
    7. 4. Exploring the APIs
      1. Accelerometer
      2. GPS
      3. Camera UI
      4. Camera Roll
      5. Microphone
      6. Multitouch
        1. GestureEvent
        2. TransformGesture
      7. Busy Indicator
    8. 5. Working with the File System
      1. File System Access
        1. Folder Aliases
        2. Read and Write to the File System
      2. SQLite Databases
    9. 6. OS Interactions
      1. Open in Browser
      2. Create Text Message
      3. Create Email
      4. Place Call
      5. Splash Screen
      6. ViewMenu
      7. StageWebView
      8. Screen Options
        1. Layout
        2. Full Screen
        3. ActionBar
    10. 7. Designing for iOS
      1. MultiDPIBitmap
      2. Setting Styles for iOS
      3. Using Capabilities
    11. Publish to iOS Installer
    12. About the Author
    13. Colophon
    14. SPECIAL OFFER: Upgrade this ebook with O’Reilly

Product information

  • Title: Developing iOS Applications with Flex 4.5
  • Author(s): Rich Tretola
  • Release date: August 2011
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449315252