[BETA - STILL IN DEVELOPMENT] SensorInfo - an extension to gather sensor informations

🧩 SensorInfo

An extension for MIT App Inventor 2.

SensorInfo - A component to gather information about device sensors like Proximity, Gyroscope, Accelerometer, and Light. (Device Name, Availability, and Model)

:memo: Specifications


:package: Package: com.ahmedislam.sensorinfo

:floppy_disk: Size: 6.48 KB

:bust_in_silhouette: Author: Ahmed Islam

:identification_card: Licenese: GPL v3.0

:gear: Version: 1.0 (Beta)

:mobile_phone: Minimum API Level: 14

:date: Updated On: 2026-03-30T20:00:00Z

:laptop: Built & documented using: FAST v5.7.0

Events:

SensorInfo has total 4 events.

1. ProximitySensorInfoGathered

Triggered when Proximity sensor info is gathered

| Parameter | Type

| - | - |

| deviceName | text

| isAvailable | boolean

| deviceModel | text

2. GyroscopeSensorInfoGathered

Triggered when Gyroscope sensor info is gathered

| Parameter | Type

| - | - |

| deviceName | text

| isAvailable | boolean

| deviceModel | text

3. AccelerometerSensorInfoGathered

Triggered when Accelerometer sensor info is gathered

| Parameter | Type

| - | - |

| deviceName | text

| isAvailable | boolean

| deviceModel | text

4. LightSensorInfoGathered

Triggered when Light sensor info is gathered

| Parameter | Type

| - | - |

| deviceName | text

| isAvailable | boolean

| deviceModel | text

Methods:

SensorInfo has total 4 methods.

1. GetProximitySensorInfo

Get Proximity Sensor Info

2. GetGyroscopeSensorInfo

Get Gyroscope Sensor Info

3. GetAccelerometerSensorInfo

Get Accelerometer Sensor Info

4. GetLightSensorInfo

Get Light Sensor Info


Extension blocks:

Blocks Usage:


AIA Example:
sensorinfo.aia (9.1 KB)


NOTICE THAT:

This extension is a BETA version which it is still in development. (For full sensors.)


See Extension repo in GitHub

Download AIX:
com.ahmedislam.sensorinfo.sensorinfo.aix (6.5 KB)