ConsumerIrManage.hasIrEmitter() always returns false (API 19)

前端 未结 4 2289
梦如初夏
梦如初夏 2020-12-13 07:53

I call ConsumerIrManager.hasIrEmitter() on my LG G2, but it always returns false.

According to the documentation on Infrared transmitters:<

4条回答
  •  自闭症患者
    2020-12-13 08:13

    I have this working fine on HTC One using CM 11. The pattern array contains the number of pulse, not the timings. This is an error in Google documentation.

    I suspect it won't work on LG and Sony as they use an IR chip with built in databse of codes. I hope I'm wrong about this.

    Touchsquid apps will have this driver shortly.

提交回复
热议问题