×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2005
    Location
    Japan
    Posts
    4

    How do I select camera device for 6680.

    I try to write the program for an onboard camera of Nokia6680.
    However, API that switches a front camera and a rear camera
    is not found.
    I am using "Symbian SDK Version 2 with Feature Pack 2".

    Please advice.

    Thank you.Regards,
    Last edited by i-masa; 2005-05-17 at 07:31.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166
    just check the camera class documentations and header files. There is a method available to count the available cameras, and then also a method for selecting one of them with index number.

    yucca

  3. #3
    Registered User
    Join Date
    May 2005
    Location
    Japan
    Posts
    4
    Hi, yucca.

    Thank you for advice.

    I gets the number of cameras on the device using CCamera::CamerasAvailable(),
    and select camera device using CCamera::NewL(MCameraObserver& aObserver, TInt aCameraIndex);
    It works fine to set aCameraIndex = 0 or 1.

    Regards,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×