Book Image

Phonegap Essentials

By : Ivan Turkovic
Book Image

Phonegap Essentials

By: Ivan Turkovic

Overview of this book

Table of Contents (15 chapters)

Introducing multimedia


In the world of fast Internet connections and powerful devices in your pocket, the need for multimedia content is rising. You need to have a way to enrich it by accessing the various recording capabilities of the device—for instance, the camera for photos and movies, or the microphone for recording audio.

Media

One of the most used features on a mobile device is the ability to take photos on the camera; almost all applications require some kind of photo upload facility, ranging from setting profile pictures to embedding photos into posts.

File management

Another problem that most applications face is the need to store content that has been created or downloaded. For example, HTML5 supports a persistent storage API for local storage but it has some limitations. With plugins for file transfer, we can download or upload files in the background without affecting the main thread of the application. The possibilities are endless and we do not need to rely on native applications...