Book Image

PhoneGap 3.x Mobile Application Development HOTSHOT

By : Kerri Shotts
Book Image

PhoneGap 3.x Mobile Application Development HOTSHOT

By: Kerri Shotts

Overview of this book

<p>PhoneGap allows you to use your existing knowledge of HTML, CSS, and JavaScript to create useful and exciting mobile applications.<br /><br />This book will present you with 12 exciting projects that will introduce you to the dynamic world of app development in PhoneGap. Starting with their design and following through to their completion, you will develop real-world mobile applications. Each app uses a combination of core PhoneGap technologies, plugins, and various frameworks covering the necessary concepts you can use to create many more great apps for mobile devices.</p>
Table of Contents (21 chapters)
PhoneGap 3.x Mobile Application Development HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

What do we build?


Our project utilizes the Google Maps API (as of writing this, Version 3.15.16). We will use this API to display an interactive map that is centered on the user's current location. Our project will also use the geolocation features that Cordova/PhoneGap provide in order to obtain the user's location over a period of time to allow the app to record the path the user takes during the same period. Instead of a voice recorder, think of the app as a path recorder.

What does it do?

In order to actually use Google Maps, we have to load the API libraries. We have to approach this a little bit differently because we are using RequireJS—we can't actually do anything related to map in the app until the libraries have loaded.

We'll also cover a little bit of the Google Maps API itself. The subject, on the whole, is worth a book on its own; consider this as a jumping-off point.

While the visual star is the Google Map, the main feature of the app is to record paths. This means that we'll...