Hardware Issues

A very cool aspect of mobile computing is the set of hardware components available on the device. Many devices have the capability to locate the device within a few meters using the GPS, have sensors that can capture device orientation, have lights that can be turned on and off, have cameras, and have other hardware components that allow the device to interact with the environment. Access to these components can make fun and useful apps. However, employing them within your app is not without potential problems. The battery issue was discussed in the previous section, and this is always a concern when using hardware devices. However, each component has its own set of issues that, when used poorly, can make an app less desirable. ...

Get Learning Mobile App Development: A Hands-on Guide to Building Apps with iOS and 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.