O'Reilly logo

The Android™ Tablet Developer’s Cookbook by B.M. Harwani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13. Cores and Threads

To run Android applications quickly and efficiently, dual-core chips and quad-core processors are developed and implemented in the Android devices. To take advantage of multicore architectures, certain enhancements are made in Android modules, including the thread scheduler. It is the job of the thread scheduler to divide and distribute the application’s task among different cores and take their maximum advantage.

For running an application efficiently, memory management is also quite important. A garbage collector plays a major role in memory recycling. One more factor that optimizes an application is having noninteractive tasks performed by background threads. Threading enables application of multitasking features.

In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required