7. Doodlz App

Objectives

In this chapter you’ll:

Image Detect when the user touches the screen, moves a finger across the screen and removes a finger from the screen.

Image Process multiple touches so the user can draw with multiple fingers at once.

Image Use a SensorManager and the accelerometer to detect motion events.

Image Use an AtomicBoolean object to allow multiple ...

Get Android™ How to Program, 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.