2

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!

skaffman
  • 390,936
  • 96
  • 800
  • 764
DecodeGnome
  • 1,779
  • 1
  • 18
  • 36
  • And oh yeah someone with higher rep should really add a front facing tag since I probably wont be the only one asking about this in the months to come ;) – DecodeGnome Feb 16 '11 at 12:41

2 Answers2

4

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

Benoit Garret
  • 13,757
  • 4
  • 57
  • 64
Audrius
  • 2,806
  • 1
  • 25
  • 35
2

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

Community
  • 1
  • 1
ingsaurabh
  • 15,170
  • 7
  • 51
  • 79