1. Are you ready for the Galaxy S20? Here is everything we know so far!

Samsung Galaxy S front facing camera.

Discussion in 'Android Development' started by harshapaul, Aug 5, 2010.

  1. harshapaul

    harshapaul Lurker
    Thread Starter

    Wanted to know if there are any APIs exposed by Samsung to access and use the front facing camera provided in Galaxy S?
     



    1. Download the Forums for Android™ app!


      Download

       
  2. blundell

    blundell Well-Known Member

    As of Android 2.1, Android only supports a single camera in its SDK.

    It is likely that this will be added in a future Android release. So not yet!

    I looked in 2.2 but can't find anything yet :-( Maybe google are waiting to see how popular they are becoming
     
  3. saraAndroid

    saraAndroid Lurker

    Yes the front face camera of the Galaxy S I9000 is accessible in the following way:

    Camera camera = Camera.open();
    Camera.Parameters parameters = camera.getParameters();
    parameters.set("camera-id", 2);
    camera.setParameters(parameters);

    This is the normal way a camera is accessed in Android only that you set the parameter 'camera-id' on 2 for the front camera. For the normal camera this is 1.

    Hoop this helps a bit ;)
    Sara
     
  4. t.dashaye

    t.dashaye Lurker

    Can yu explain to me step by step how to access my front facinq camera icnt seem to find it on my at&t qalaxy s phone
     
Loading...
Similar Threads - Samsung Galaxy front
  1. kwb4
    Replies:
    5
    Views:
    589
  2. LordMax2
    Replies:
    1
    Views:
    697
  3. 4joeyirosh1
    Replies:
    17
    Views:
    2,826
  4. family coach
    Replies:
    14
    Views:
    1,462
  5. Devils_Advokat
    Replies:
    33
    Views:
    1,959
  6. syc0path
    Replies:
    3
    Views:
    1,142
  7. Crash1
    Replies:
    3
    Views:
    2,058
  8. kylabeardad
    Replies:
    6
    Views:
    1,703
  9. dilipl
    Replies:
    13
    Views:
    1,956
  10. GeneralGhest
    Replies:
    24
    Views:
    1,074

Share This Page

Loading...