Building with the PhoneGap build

There is another option to build Android and iPhone apps from web apps—by using the PhoneGap build service. The service allows you to upload a ZIP file of the web game. Then, it uses Web View to display the HTML, similar to our previous Web View examples.

Building with the PhoneGap build

The difference is that PhoneGap provides several hardware resources via its JavaScript API. Since our game hasn't used any PhoneGap API, it gives pretty much the same result as wrapping the Web View ourselves and building using the PhoneGap.

If you don't have any native programming experience, PhoneGap or a similar cloud building service is a good choice. If you are ...

Get HTML5 Game Development by Example : Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.