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
  • 398,947
  • 96
  • 818
  • 769
DecodeGnome
  • 1,809
  • 1
  • 19
  • 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
  • 14,027
  • 4
  • 59
  • 64
Audrius
  • 2,836
  • 1
  • 26
  • 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,249
  • 7
  • 52
  • 81