Skip to Content
Pro Android Graphics
book

Pro Android Graphics

by Wallace Jackson
October 2013
Intermediate to advanced
620 pages
17h 25m
English
Apress
Content preview from Pro Android Graphics

Chapter     17

Interactive Drawing: Using Paint and Canvas Classes Interactively

In this seventeenth chapter, you will learn how to use the Android Paint and Canvas classes interactively, in real time, using your Android device’s touchscreen. You will implement touchscreen event handling using the OnTouchListener( ) method and class, and learn how to enable your user to draw on their Android device’s screen interactively and in real time.

You will learn about the Android MotionEvent, List, ArrayList, and Context classes, as well as much more detail regarding Android’s Paint and Canvas classes. We will also look specifically at the .onDraw( ) method in Android as well as how drawing to the user’s display functions within Android OS.

You will ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Android UI

Pro Android UI

Wallace Jackson
Android Fragments

Android Fragments

Dave MacLean, Satya Komatineni
GUI Design for Android Apps

GUI Design for Android Apps

Ryan Cohen, Tao Wang
Pro Android Games, Third Edition

Pro Android Games, Third Edition

Vladimir Silva, Massimo Nardone

Publisher Resources

ISBN: 9781430257851Purchase book