×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    1

    How can I draw graphics and video

    Hi everyone,

    I've been trying to make an application to take snapshots using Canvas J2ME...(already finished), but I'd like to know if it is possible to draw some Graphics infront of the videoDisplay of the cell... Cos I tryed to draw a rectangle infront of the video but I couldn't

    If you can help me with this trouble it would be very appreciated...

    Thanks in advace...

    Pedro.

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How can I draw graphics and video

    Hi Pedro,

    as stated also on these threads:

    http://discussion.forum.nokia.com/fo...d.php?t=136612
    http://discussion.forum.nokia.com/fo...d.php?t=108910

    to draw anything on top of a video you need to use OverlayControl from JSR 234. But, this (as the whole javax.microedition.amms.control.imageeffect package) is not currently supported on Nokia phones.

    Pit

  3. #3
    Registered User
    Join Date
    Nov 2007
    Posts
    15

    Re: How can I draw graphics and video

    Hi jappit,

    I have bumped into the sonyericsson site and Overlay works without JSR-234.

    Link:
    https://developer.sonyericsson.com/s...raw_canvas.jsp

    Will this technique also work on Nokia Phones without the JSR-234?

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How can I draw graphics and video

    Hi gregschua,

    unfortunately no, It will not work on Nokia devices.

    Pit

  5. #5
    Registered User
    Join Date
    Nov 2007
    Posts
    15

    Re: How can I draw graphics and video

    Hi jappit,

    Thanks for the fast reply.

    I guess I should stick to JSR-234 for Nokia devices. But this will limit my application to the latest phones (S60 3rd Ed, S40 5th Ed) only.

  6. #6
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How can I draw graphics and video

    Hi gregschua,

    Nokia devices currently do not support the JSR-234 javax.microedition.amms.control.imageeffect package, as told here:

    http://www.forum.nokia.com/document/...4FB5D741B.html

    Without this package (and so, without OverlayControl) you'll not be able to draw images on top of video or still image, even if you use JSR-234.

    Pit

  7. #7
    Registered User
    Join Date
    Nov 2007
    Posts
    15

    Re: How can I draw graphics and video

    Hi jappit,

    I guess this can't be done in J2ME for Nokia phones for now.

    Thanks for the info.

Similar Threads

  1. 6280 video & sound
    By jascco in forum Mobile Java Media (Graphics & Sounds)
    Replies: 14
    Last Post: 2008-10-10, 08:25
  2. How to draw graphics on video Canvas
    By yaziaiwugui in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-08-23, 08:03
  3. Best way to mix video and OpenGL ES graphics?
    By jmairey in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2007-07-13, 18:48
  4. Drawing graphics over captured video.
    By jcmirand in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-02-21, 18:52
  5. Simultaneous video rendering - issue SOS
    By arvind_v in forum Streaming and Video
    Replies: 0
    Last Post: 2006-01-04, 15:12

Posting Permissions

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