×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Camera viewFinder

    Hello,
    how can i launch camera viewFinder on full screen.

    I get phone resolution in this way:
    Code:
    	CEikonEnv *eikonEnv;
    	eikonEnv=CEikonEnv::Static();
    	CGraphicsDevice *screen;
    	screen = eikonEnv->ScreenDevice();
    	TSize mySize = screen->SizeInPixels();
    and then i m trying to launch view finder in this way:
    Code:
    ...
    TRAPD(ignored, iCamera->StartViewFinderBitmapsL(mySize));
    ...
    view finder launch but it s not in full screen mode.
    There is some space under the viewFinder.
    What am i doing wrong??

    thanks in advance
    Nuker85

    ps. I have just realised that what i see is just part of what viefinder should display. My default camera displays viewfinder in vertical position while i am displaying it in horizontal position. How then switch the orientation ?
    Last edited by nuker85; 2008-11-28 at 13:25. Reason: New clue

  2. #2
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Camera viewFinder

    After some work i find out the following:

    My phone resolutions is:
    240x320 and my default camera is working in horizontal position

    when i do
    Code:
    iCamera->StartViewFinderBitmapsL(mySize)
    in

    Code:
    ViewFinderFrameReady(CFbsBitmap& aFrame)
    i get CFbsBitmap which resolution is 320x240
    and thatswhy i have got problem with displaing viewfinder in fullscreen mode.

    I have got now 2 solutions.
    1) rotate CFbsBitmap in ViewFinderFrameReady but it will took some time what may cause some frames lost

    2) before calling:
    Code:
    iCamera->StartViewFinderBitmapsL(mySize)
    set inform somehow viewfinder that i want to get rotated frame

    I would prefer 2nd solution but the question is if it is possible and if so how to do it??

    thanks in advance

  3. #3
    Regular Contributor
    Join Date
    Apr 2004
    Posts
    96

    Re: Camera viewFinder


  4. #4
    Registered User
    Join Date
    May 2007
    Location
    Poland
    Posts
    606

    Re: Camera viewFinder

    Thanks for your response.
    Now it is clear for me.

Similar Threads

  1. "Problem" with camera viewFinder
    By lucafr in forum Symbian Media (Closed)
    Replies: 16
    Last Post: 2008-08-15, 22:14
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  3. Intercepting Images from Camera / Viewfinder
    By skela in forum Symbian Media (Closed)
    Replies: 15
    Last Post: 2008-01-22, 11:22
  4. Incorrectly oriented bitmaps from camera viewfinder!
    By KroneckersDelta in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2007-10-17, 10:28
  5. fullscreen camera viewfinder pyS60
    By amerkhan in forum Symbian
    Replies: 2
    Last Post: 2007-08-09, 14:06

Posting Permissions

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