Chapter 11. Mobile

In the 1990s, Java gained immense popularity because developers could write one application that ran on multiple operating systems. In the early 2000s, HTML5 is doing the same on the mobile front, letting developers implement a single application that runs on the desktop and multiple mobile operating systems.

In this chapter you will see how to get Canvas-based applications running on mobile devices; specifically, you will see how to configure the magnifying glass and paint applications discussed earlier in this book to run, indistinguishably from native applications, on the iPad.

The application shown in Figure 11.1 is the magnifying glass application discussed in Section 4.10, “A Magnifying Glass,” on p. 321, running on both ...

Get Core HTML5 Canvas: Graphics, Animation, and Game Development 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.