android - 使用红外线检测 ios 或 android 设备中的对象

标签 android ios infrared

如何编写代码以使用红外线检测真实物体,以使用 ios 或 android 设备检查是否存在于红外线检测范围内?

最佳答案

这是不可能的,因为:

  • 它只发送,不接收
  • 很少有安卓设备有红外线发送器
  • 没有 iOS 设备有红外线发送器
  • 很少/没有手机有红外线接收器

在大多数情况下有两个链接(例如在电视中);发送者和接收者。很少有东西同时 IR 发送器和接收器。

另请参阅:

Is it possible to capture/receive IR signals in an Android application?

iOS and Infrared

Can iPhone camera see infrared light?

关于android - 使用红外线检测 ios 或 android 设备中的对象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38181409/

相关文章:

android - 更新 Google Ads SDK 后 addTestDevice 已弃用,如何解决?

android - 选择退出 Google Play App Signing 是永久性的吗?

ios - iOS 应用程序的 Google Cloud Platform API key 限制如何运作?

iphone - 用户点击 UILocalNotification : Can it pass data to the app?

android - ConsumerIrManager.transmit 在 Lollipop 中损坏?

android - 在 android 4.4 中为 android 应用程序添加红外遥控

Android 2.3.3 spinner 自动排序

java - android - 如何获取发生异常的类和方法名称

ios - 模态视图透明背景 - 停止下层隐藏?

javascript - 热成像调色板