Chapter    2

An Introduction to Creating Mobile Web Apps for Android

Now that your development environment has been set up, you must be itching to dive into some code!

Before you begin, this chapter will take you through the basic principles of the mobile web compared to the much more traditional desktop environment.

Life would be so much simpler if you could build and deploy an application once and make it instantly available on all devices (not just Android). The mobile web aims to solve this. Native applications have their advantages, and they come into their own when they require large amounts of graphics processing, CPU, and RAM, as well as access to almost all aspects of the Android operating system.

Browser vendors such as Mozilla are ...

Get Learn HTML5 and JavaScript for Android 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.