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

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

    You'll want to check out the Sensor reference docs. Offhand, I don't think there are accessible temperature sensors on-board most handhelds though.

提交回复
热议问题