You Are Here:

Community: Developer Discussion Boards

#1 Old How can I draw graphics and video - 2008-09-18, 22:42

Join Date: Sep 2008
Posts: 1
wiiPerico
Offline
Registered User
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.
Reply With Quote

#2 Old Re: How can I draw graphics and video - 2008-09-19, 11:00

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
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


www.jappit.com - mobile and web blog
Reply With Quote

#3 Old Re: How can I draw graphics and video - 2008-09-29, 14:39

Join Date: Nov 2007
Posts: 15
gregschua
Offline
Registered User
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?
Reply With Quote

#4 Old Re: How can I draw graphics and video - 2008-09-29, 15:17

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
Hi gregschua,

unfortunately no, It will not work on Nokia devices.

Pit


www.jappit.com - mobile and web blog
Reply With Quote

#5 Old Re: How can I draw graphics and video - 2008-09-29, 16:05

Join Date: Nov 2007
Posts: 15
gregschua
Offline
Registered User
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.
Reply With Quote

#6 Old Re: How can I draw graphics and video - 2008-09-29, 16:26

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
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


www.jappit.com - mobile and web blog
Reply With Quote

#7 Old Re: How can I draw graphics and video - 2008-09-30, 15:21

Join Date: Nov 2007
Posts: 15
gregschua
Offline
Registered User
Hi jappit,

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

Thanks for the info.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
6280 video & sound jascco Mobile Java Media (Graphics & Sounds) 14 2008-10-10 09:25
How to draw graphics on video Canvas yaziaiwugui Mobile Java Media (Graphics & Sounds) 1 2007-08-23 09:03
Best way to mix video and OpenGL ES graphics? jmairey Symbian Media (Graphics & Sounds) 0 2007-07-13 19:48
Drawing graphics over captured video. jcmirand Mobile Java Media (Graphics & Sounds) 2 2006-02-21 19:52
Simultaneous video rendering - issue SOS arvind_v Streaming and Video 0 2006-01-04 16:12

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia