Chapter 15

Building Native Applications

Most applications that people use on their Android devices are native—programs written in Java and tightly integrated with the OS. Games are no exception. Most games for Android are native games. Applications created throughout this book are of a different type—they are web applications. They already work pretty well, and there’s no doubt that with some extra polishing, it would be simple to bring the web app to the commercial level. However, there are a few reasons why you might want to build a native Android version of your game.

Why build a native application out of a working web version? That is a good question. Indeed, web applications have many advantages. They are easier to deploy, you don’t have ...

Get Pro Android Web Game Apps: Using HTML5, CSS3 and JavaScript 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.