Mobility and portability of media are key points in our new social media life. The capability to access the device's media enables us to create apps that integrate different media in the communication flow. Using the device Camera your app can capture pictures and videos or access to the existing ones. Through the device's default audio record application the app can capture or play audio tracks.
In this chapter you will:
Learn about the Camera API and how to configure the way the app accesses device pictures
Understand the differences between the PhoneGap Camera and Capture APIs
Learn how to control the position of the camera roll dialog box on an iPad
Learn how to use the PhoneGap Capture API to access existing pictures, video, and audio files or to get a new one through the default device applications
Learn how to integrate HTML5 and JavaScript to manipulate pictures in your native app