|6||Threads, Handlers, and Programmatic Movement|
In this chapter you will:
Understand the benefits of multithreading on Android.
Understand multithreading fundamentals.
Thread class and the
Learn to implement canvas movement using surface views.
Learn to communicate between threads.
■ 6.1 Multithreading and Multicore Processing
Since the early days of Cupcake, Android-powered devices have grown enormously in multitasking capability. Even fairly recent mobile devices have more resource constraints (such as CPU, memory, and battery power) than a desktop computer; this makes multitasking more difficult on a mobile device. Nevertheless, Android users have ...