Book Image

PhoneGap Beginners Guide (third edition)

Book Image

PhoneGap Beginners Guide (third edition)

Overview of this book

Table of Contents (22 chapters)
PhoneGap Beginner's Guide Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Related Plugin Resources
Index

Porting web applications


We know that PhoneGap/Cordova allows you to have a common code base for all mobile platforms. PhoneGap helps to package your HTML, CSS, and JavaScript code so that it can be installed in a mobile device and can be used as an app in different types of platforms such as Android, iOS, Firefox, and so on. It's not a surprise now. However, did you know that, with some planning, you can convert your existing web application to a hybrid mobile app?

If you are a web developer, you can even create a mobile app with your existing knowledge of web development and can sell in app marketplaces. You can save a lot of time and money by avoiding redevelopment.

PhoneGap/Cordova provides a lot of APIs to access device features such as the camera, accelerometer, and more. In this way, PhoneGap gives developers the ability to create a full-featured mobile app using web technologies. However, you can't use such device-related APIs in your web application. So, you have to design your code...