O'Reilly logo

Appcelerator Titanium Smartphone App Development Cookbook - Second Edition by Jason Kneen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Enhancing Your Apps with Audio, Video, and Cameras

In this chapter, we will cover these recipes:

  • Choosing your capture device using an OptionDialog modal
  • Capturing photos from the camera
  • Choosing existing photos from the photo library
  • Displaying photos using ScrollableView
  • Saving your captured photo in the device filesystem
  • Capturing and playing audio via the audio recorder
  • Capturing video via the video recorder
  • Playing video files from the filesystem
  • Safely deleting saved files from the filesystem

Introduction

While it may be hard to believe, snapping photographs and sharing them wirelessly using a phone first happened only in 1997, and it didn't become popular until around 2004. By 2010, almost all phones contained a digital camera and many ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required