Samsung Galaxy S front facing camera.


Last Updated:

  1. harshapaul

    harshapaul New Member This Topic's Starter

    Joined:
    Aug 5, 2010
    Messages:
    3
    Likes Received:
    0
    Wanted to know if there are any APIs exposed by Samsung to access and use the front facing camera provided in Galaxy S?
     

    Advertisement
  2. blundell

    blundell Well-Known Member

    Joined:
    Apr 23, 2010
    Messages:
    125
    Likes Received:
    17
    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 New Member

    Joined:
    Oct 20, 2010
    Messages:
    1
    Likes Received:
    0
    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 New Member

    Joined:
    Oct 24, 2011
    Messages:
    1
    Likes Received:
    0
    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
     

Share This Page

Loading...