如何检测是否存在正面相机并且如果存在如何实现和使用前摄像机? [英] How to detect if there is front camera and if there is how to reach and use front camera?
本文介绍了如何检测是否存在正面相机并且如果存在如何实现和使用前摄像机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何检测是否有一个前置摄像头和如果存在如何实现和使用前摄像机?
解决方案
如何检测是否有一个前置摄像头和如果存在如何实现和使用前摄像机?
目前这个没有API,至少在Android 2.2的。幸运的是,在即将到来的姜饼版本将增加对前置摄像头的内置支持。对不起!
How to detect if there is a front camera and if there is how to reach and use front camera ?
解决方案
How to detect if there is a front camera and if there is how to reach and use front camera ?
There is no API for this, at least through Android 2.2. With luck, the upcoming Gingerbread release will add built-in support for front-facing cameras. Sorry!
这篇关于如何检测是否存在正面相机并且如果存在如何实现和使用前摄像机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文