阻止 Android 市场中需要 LED 或相机闪光灯的应用程序
是否有一个特定的标志可以用来阻止应用程序 出现在要求手机有摄像头的市场上 闪光灯/LED?典型的应用程序使手机就像一个 黑暗中的火炬光。我看到一个标签可以阻止应用程序需要 自动对焦相机出现在市场上。
只是想看看是否有类似的相机 闪光。
Is there a particular flag that we can use to prevent apps
showing up in marketplace which require the phone to have a camera
flash /LED? Typical apps are ones which make the phone act like a
torchlight in dark. I have seen a tag which prevents apps requiring
autofocus in a camera from appearing in the marketplace.
Just looking to find out if there is something similar for camera
flash.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定你是否是问这个问题的人,但这最近出现在 [android-developers] 上。 Dianne Hackborn 指出,有一个
元素用于此目的:android.hardware.camera.flash
。Not sure if you were the one who asked, but this popped up on [android-developers] recently. Dianne Hackborn pointed out that there is a
<uses-feature>
element for this:android.hardware.camera.flash
.在清单文件中,您需要添加:
根据我的阅读,您需要在闪光之前指定相机和自动对焦。
只是想知道,您是否有运气在未root的手机上打开LED灯?
In the manifest file you would need to add:
From what I have read you need to specify camera and autofocus before flash.
Just wondering, have you had any luck turning on the led on an un-rooted phone?