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

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

    i have same your question long time ago. And what my found is :

    • check this offical site for Environment sensor
    • this tuts for environment sensor : Ambient Temperature (room temp) Ambient Light ... Tutsplus. on my phone only Ambient Light work
    • now as i know only samsung galaxy S4 have Ambient Temperature. if you have S4 search Holo Ambient Temperature on gg playstore .

提交回复
热议问题