Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10: Utilizing Device Features

10

Utilizing Device Features

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Launching the device's native camera application
  • Using an image taken with the camera
  • Capturing audio with the device's microphone
  • Playing audio captured from the microphone
  • Displaying dynamic HTML content and web pages
  • Utilizing the device's geolocation sensor

In this chapter you'll take an in-depth look at some of the cool features of Adobe AIR that allow you to use the functionality that is integral to most mobile devices.

First you'll take a look at the CameraUI class, examining how you can take photos using the device's camera and include the images in your AIR mobile application. You'll explore the Microphone API, taking a close look at how you can record and play back audio streams using the device's microphone. You then turn your attention to integrating a device's web control and presenting web pages into your mobile applications using the StageWebView class. Finally, you take a look at using the device's Geolocation sensor to retrieve and incorporate GPS location data.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint