FMX.SensorInfo Sample

From RAD Studio Code Examples
Jump to: navigation, search

This is a sample that illustrates how to get device sensor info in mobile applications, using FireMonkey.

Location

You can find the FireMonkeyMobile SensorInfo sample project at:

Description

This demo shows interaction with a mobile device sensor.

How to Use the Sample

  1. Navigate to the one of the locations given above, and open:
    • Delphi: SensorInfo.dproj
    • C++: SensorInfo.cbproj
  2. Press F9 or choose Run > Run.

Classes

FireMonkey SensorInfo represents the main window of the sample. It contains the following components:

Implementation

Uses

See Also

Samples