Skip to content
Snippets Groups Projects

Proximity

This example demonstrates a way to read values from the proximity sensor. When run, the application shows whether objects are near to the proximity sensor.

A screenshot of the application running in the phone environment

In :ref:`Sensors_Proximity_example_src` we focus on the parts of the application that handle access to the proximity sensor.