Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User singhzubin's Avatar
    Join Date
    Aug 2008
    Posts
    19
    Hello,
    We were previously running fine on nokia N95, N79 phones where our symbian application would access the camera on the phone so we could capture live video feed. We could display the contents of what the camera was able to capture on the device that was capturing it, and send the feed out to our severs with no problems.

    However on the Nokia N8, we are able to install the same symbian application, and we are able to launch it - however when we try to capture the feed no picture shows up on the display.
    The user is pretty much blind as to what video he/she is capturing. But the application is able to send the contents of the video stream out to our servers. (I hope this makes sense).

    There seems to be an issue rendering the window to display the picture that the camera is capturing on the N8 device display.

    The code is

    Code:
     
    CWindowGc& gc = SystemGc();
    gc.Activate(Window());
    gc.BitBlt(TPoint(0,0), &aFrame);
    gc.Deactivate();
    aFrame i tried to write as a jpeg. After exiting program I can see the content of image its perfect.

    The displaymode also does not have alpha parameter... not sure what is causing this.. Have also tried to draw an arc - but that is also not working. Writing text works fine..

    Please let me know if any other thing I need to do for N8.

    Thanks,
    Zubin

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    This approach worked so far (I also used it), however it is actually missing RWindow::Begin/EndRedraw, and perhaps RWindow::Invalidate before the entire process and RWsSession::Flush at the end. These steps might have become more important with Symbian^3.

  3. #3
    Registered User singhzubin's Avatar
    Join Date
    Aug 2008
    Posts
    19
    Thanks for the help adding in the following lines made it work:

    Code:
    CWindowGc& gc = SystemGc();
    gc.Activate(Window());
    Window().Invalidate();
    Window().BeginRedraw();
    // Draw it onto the screen
    gc.BitBlt(TPoint(0,0), &aFrame);
    Window().EndRedraw();
    gc.Deactivate()
    Last edited by singhzubin; 2010-10-15 at 01:06.

Similar Threads

  1. Nokia 5230 touchscreen problem
    By kushwiz in forum General Development Questions
    Replies: 1
    Last Post: 2010-07-09, 13:02
  2. Display NOT displaying...
    By zkidron in forum Mobile Java General
    Replies: 13
    Last Post: 2010-05-03, 23:20
  3. Embedding Camera feed into application ?
    By gros.lalo in forum Symbian Web Runtime
    Replies: 2
    Last Post: 2010-03-07, 10:37
  4. How to display same RSS feed in widget application?
    By SymbianTH in forum Symbian Web Runtime
    Replies: 7
    Last Post: 2009-05-27, 06:27
  5. Nokia N73 Music Edition Camera problem - Display screen like waves moving
    By ramakula@gmail.com in forum General Development Questions
    Replies: 1
    Last Post: 2007-08-22, 08:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved