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

前端 未结 9 1263
天命终不由人
天命终不由人 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:46

    There is the age old method of letting the phone and a "good" thermometer stabilize at room temperature (a few hours) and read both.

    Then put it outside in a nice wintry garage at about 35F let it stabilize. Then pray for linearity.

    Empirical is always nice. I am very interested in measuring a constant temperature in an empty house, and watch for the temperature dropping (or rising!!)

    Bradshaw at Buzzards Bay

提交回复
热议问题