Is there any Android api to find/sense room temperature programmatically in android code?

前端 未结 9 1210
天命终不由人
天命终不由人 2021-01-04 04:47

I am developing an android app for my project, I need to find room temperature as part of it. I am using Droid 2 A955 model for testing.

My Questions are:

9条回答
  •  星月不相逢
    2021-01-04 05:48

    this sounds interesting:

    http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_AMBIENT_TEMPERATURE

    from API >= 13

提交回复
热议问题