开发者

Android: Acessing front facing camera for Android 2.3

There really seems to be no information on how to acess the front facing camera on android phones (gingerbread).

Could someone please point me to a 开发者_高级运维page or post that explains how it's done?

Thanks!


Here is an example on how to access different cameras and switch between them: CameraPreview

The link is not accessible right now, Google has moved the Sample Project.

Please import a Sample Project and find it at:

ApiDemos/com.example.android.apis.graphics/CameraPreview.java


Mat be this might help you How to use Front Facing Camera on Samsung Galaxy S

As for 2.3 Camera you can try this method passing the camera ID

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜