Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User cmccauley3353's Avatar
    Join Date
    Apr 2007
    Posts
    2
    Hi all
    I'm in the middle of developing an application where I would like to draw a simple cross hair on the screen over the playback of the primary camera for a Nokia N80 (S60 platform). The playback occurs on a canvas object but I can't figure out how to set the Graphics object(the cross hairs) at a higher level on the canvas than the video playback.

    using the standard line below and I'm drawing to the canvas object.
    vidCon.initDisplayMode(vidCon.USE_DIRECT_VIDEO, canvas)

    Do I have to use a layer manager and just create the crosshairs as a Sprite object?

    Any help would be much appreciated.
    Thanks

  2. #2
    Registered User gordon32's Avatar
    Join Date
    Mar 2007
    Posts
    46
    Hi,cmccauley3353
    It seems that there is a method which allow you to draw something over the camera, but I'm not sure about it.It's just an advice.

    Best regards

  3. #3
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    You need to take separate snapshots from the camera, draw those images on the screen and draw the crosshair on top of the image.
    In the future you could use OverlayControl from AMMS API (JSR-234), but that is not available on S60 3rd Edition devices.

    Hartti

Similar Threads

  1. Video playback on N80
    By FLO334 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-03-22, 00:01
  2. painting on top of camera video input
    By rel1986 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2007-01-06, 09:57
  3. 3650 Video playback problems
    By satchmobu in forum Mobile Java General
    Replies: 3
    Last Post: 2003-07-02, 10:17
  4. video playback from memorycard with fullscreen (nim - format)??
    By chris.dah in forum Mobile Java General
    Replies: 0
    Last Post: 2003-04-16, 10:18

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