Book Image

PhoneGap 2.x Mobile Application Development HOTSHOT

By : Kerri Shotts
Book Image

PhoneGap 2.x Mobile Application Development HOTSHOT

By: Kerri Shotts

Overview of this book

<p>Do you want to create mobile apps that run on multiple mobile platforms? With PhoneGap (Apache Cordova), you can put your existing development skills and HTML, CSS, and JavaScript knowledge to great use by creating mobile apps for cross-platform devices.</p> <p>"PhoneGap 2.x Mobile Application Development Hotshot" covers the concepts necessary to let you create great apps for mobile devices. The book includes ten apps varying in difficulty that cover the gamut – productivity apps, games, and more - that are designed to help you learn how to use PhoneGap to create a great experience.</p> <p>"PhoneGap 2.x Mobile Application Development Hotshot" covers the creation of ten apps, from their design to their completion, using the PhoneGap APIs. The book begins with the importance of localization and how HTML, CSS, and JavaScript interact to create the mobile app experience. The book then proceeds through mobile apps of various genres, including productivity apps, entertainment apps, and games. Each app covers specific items provided by PhoneGap that help make the mobile app experience better. This book covers the camera, geolocation, audio and video, and much more in order to help you create feature-rich mobile apps.</p>
Table of Contents (19 chapters)
PhoneGap 2.x Mobile Application Development HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
InstallingShareKit 2.0
Index

Chapter 7. Let's Go to the Movies!

It didn't take long after the introduction of cameras on phones to ask the question, "What about video?" Initially video recording was hampered by the limited space on phones as well as the hardware. It is one thing to snap a few JPEG files that might be a few hundred kilobytes each, but it is entirely another thing to take a video longer than a few seconds that doesn't add up to a pretty large file size. Furthermore, video has to be encoded and compressed, something that can be done in software, but is much better done in hardware.

When video recording did become practical, it changed the way we saw the world. Suddenly it was possible to have footage of news happening anywhere there was a cell phone – practically everywhere. Video recording became common place, so chances are good that there are very few handsets today that don't support it. In this project, we'll take a look at recording and playing video in our apps.