See the App Inventor Extensions document about how to use an App Inventor Extension.
For questions about this extension or bug reports please start a new thread in the App Inventor community. Thank you.
For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.
March 15th, 2019: Initial version.
Note: This extension has been deprecated. Please use the built-in thermometer sensor from the sensor drawer..
Ambient Temperature Sensor component.
Minimum Android version to be able to use that sensor is Android 4 (API Level 14).
Required permissions: none
Thank you Adam for being the sponsor of this extension.
Returns whether sensor is available.
Returns whether sensor is enabled.
Specifies whether sensor is enabled.
Returns the temperature in Celsius. To return meaningful values the sensor must be enabled.
Event indicating that a sensor change occurred.
Obviously the example app will only work for devices, which offer an ambient temperature sensor.
Tested successfully on Samsung Galaxy S4.