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

Game Over..... Wrapping it up


Whew! That was a lot of work, but the result is pretty fun. See how far you can get before it gets too hard. Let me tell you, it doesn't take me very long to crash and burn.

There's one last thing we ought to mention: on iOS 7, the status bar overlays the game canvas, which would be fine, except we want the experience to be immersive. To get rid of the status bar, we can add the Status Bar plugin to the project, as follows:

cordova plugin add org.apache.cordova.statusbar

Then, add the following in www/js/app/main.js at the top of APP.start:

     if (_y.device.platform() == "ios") {
       StatusBar.hide();
     }