如何检测是否有前置摄像头以及是否有如何到达和使用前置摄像头? [英] How to detect if there is front camera and if there is how to reach and use front camera?

查看:8
本文介绍了如何检测是否有前置摄像头以及是否有如何到达和使用前置摄像头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检测是否有前置摄像头以及是否有如何到达和使用前置摄像头?

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 ?

至少在 Android 2.2 中没有用于此的 API.幸运的是,即将发布的 Gingerbread 版本将添加对前置摄像头的内置支持.对不起!

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆