Other Hardware

Android devices also have other hardware features, such as a phone and a camera. These devices have an app associated with them to provide access to their functionality. In contrast to accessing the sensors and monitors, these hardware items are accessed by making calls to their Application Program Interface (API). These apps can be opened from within an app to give the user access to their functionality. In this case, the user leaves the app to interact with the device and returns to the app after completing the task. The functionality of the hardware can also be accessed by integrating the features within the app by calling the associated app’s API. In this manner, the app developer can provide users with exactly the functionality ...

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.