×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    secondary camera view

    hi..i hav implemented camera in my app with primary or general view.
    Now i want to activate secondary view of camera or the frontal view.I have implemented the camera using wiki code given.So wat is the the way to change the camera from primary to secondary(Front)view?.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: secondary camera view

    Check the code part where the CCamera is constructed, and use different index for selecting the secondary camera.

  3. #3
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: secondary camera view

    following is my camera engine class:
    void Ccamcont::ConstructL()
    {

    iCaeEngine=CCaeEngine::NewL();
    iFs.Connect();
    iCaeEngine->SetCamAppEngineObserver(*this);
    iSaveBmp=new (ELeave) CFbsBitmap;
    TFileName path = PathInfo::PhoneMemoryRootPath(); //Default
    path.Append( PathInfo::ImagesPath() );
    iImagePath = HBufC::NewL( path.Length() );
    iImagePath->Des().Copy( path );
    iCaeEngine->InitL();
    }
    so do i have to pass an index in NewL()?

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: secondary camera view

    okk...i have done with this , passed 1 as index

  5. #5
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,089

    Re: secondary camera view

    hi..i got struck wid one more problem, whenever i try to capture an image from front facing camera , my app gets hang.So any idea why is it so?

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,168

    Re: secondary camera view

    AFAIK, it should work the same with both cameras, no speacial things really with secondary camera. Thus you gotta debug and check what it is that is hanging on your applciation.

Similar Threads

  1. using secondary camera on an application
    By Charliebeer in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2008-09-21, 16:22
  2. Capturing image from secondary camera problem
    By michaelnewyork in forum Symbian
    Replies: 7
    Last Post: 2008-09-08, 08:09
  3. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  4. Camera API on Symbian 9.1 (Nokia N80)
    By srigans1 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-10-20, 05:31
  5. [MMAPI] FullCanvas -> show and hide camera view
    By nokia_devil in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-08-02, 09:41

Posting Permissions

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