O'Reilly logo

PhoneGap 4 Mobile Application Development Cookbook by Zainul Setyo Pamungkas

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. Working with Audio, Images, and Video

In this chapter, we will cover the following recipes:

  • Capturing audio using the device audio recording application
  • Recording audio within your application
  • Playing audio files from the local filesystem or over HTTP
  • Capturing a video using the device video recording application
  • Loading a photograph from the device camera roll/library
  • Applying an effect to an image using canvas
  • Playing a remote video

Introduction

This chapter will include a number of recipes that outline the functionality required to capture audio, video, and camera data, as well as the playback of audio files from the local system and remote host. We will also take a look at how to use the HTML5 canvas element to edit an image on the fly. ...

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