🧩 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)
Specifications
Package: com.ahmedislam.sensorinfo
Size: 6.48 KB
Author: Ahmed Islam
Licenese: GPL v3.0
Version: 1.0 (Beta)
Minimum API Level: 14
Updated On: 2026-03-30T20:00:00Z
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)

