Use PhoneGap to apply web development skills and learn a variety of cross-platform mobile applications.
If you are already a web developer, this book will provide you with the skills you need to create, customize, test, and deploy hybrid mobile applications. Starting from the beginning, this book will cover how to set up your PhoneGap development environment, add mobile web frameworks and plugins, design and customize the application layout, and utilize the embedded features of the PhoneGap framework.
By working through the steps in each chapter, you will quickly master a variety of mobile applications with totally different approaches. You will then learn how to develop a PhoneGap plugin with native interfaces for iOS and Android, as well as common approaches to test PhoneGap applications.
With ample screenshots that show you how to build a phenomenal application, PhoneGap By Example will ensure your success with this cutting-edge mobile development framework for hybrid applications.
What this book covers
Chapter 1, Installing and Configuring PhoneGap, talks about the download and installation of the PhoneGap framework. It also examines the ins and outs of a basic PhoneGap application. In this chapter, you will learn how to perform basic manipulations with plugins and how to select the mobile web framework.
Chapter 2, Setting Up a Project Structure with Sencha Touch, explains the main elements of the framework. It also covers how to set maintainable, scalable, and testable project structures. It also teaches you how to follow the mobile-first approach and use CommonJS practices.
Chapter 3, Easy Work with Device – Your First PhoneGap Application "Travelly", focuses on the application development tutorials with PhoneGap to build an application for travelers. You will learn how to access a camera to capture photo and how to work with the filesystem.
Chapter 4, Integrating the Travelly Application with Custom Service, adds new features to your applications, which allows you to sync data between the server and mobile device. You will learn how to build a custom web service with Node.js and integrate it with your PhoneGap application.
Chapter 5, Crazy Bubbles - Your First HTML5 Mobile Game, demonstrates the potential in building a HTML5 mobile game using the HTML5 Canvas and its 2D context. It teaches you how to build HTML5 animations, how to handle mobile gestures, and how to deal with performance issues.
Chapter 6, Share Your Crazy Bubbles Game Result on Social Networks, continues to provide information about the project from the previous chapter and adds the final touches to the game, including integration with the Facebook, Twitter.
Chapter 7, Building a Real-time Communication Application – Pumpidu, introduces all the popular WebRTC technologies and tells you how to build an audio/video chat with PhoneGap. It teaches you how to establish a video call among several mobile devices.
Chapter 8, Building "Imaginary" – An Application with Instagram-like Image Filters, shows you how to use the PhoneGap plugin in order to store pictures on the device. It also shows you how to implement Instagram-like picture filters.
Chapter 9, Testing the PhoneGap Application, teaches you how to use common approaches to test PhoneGap applications. You will learn how to use the key testing features on a real device and on a simulator.
Chapter 10, Releasing and Maintaining the Application, takes you through the process of how to release the application to different application markets, such as the App Storeand Google Play. You will learn how to prepare the bundle for beta testing.
Author: Andrey Kovalenko