Chapter    5

Programming for Multiple Devices

One of the wonderful things about Android is that there are so many devices that run it. From phones to tablets, to televisions to cameras to treadmills, Android is hugely popular as the software platform for all kinds of electronic devices. This can also be a huge challenge for the application developer. The differences between devices can be numerous, from different sizes of screens to different screen densities, from different hardware features to different versions of Android. Dealing with all these differences gracefully is possible, and perhaps easier than you would imagine.

As Android has evolved, so have the options available to the developer. This chapter will explore device differences ...

Get Expert Android 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.