BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   draw a line on a VideoCamera canvas (http://www.blackberryforums.com/showthread.php?t=140020)

abhsax1978@hotmail.com 07-14-2008 02:23 AM

draw a line on a VideoCamera canvas
 
Sir.
I have developed a bar-code reader application in J2ME.
My problem is to display a line over the canvas where the video,
is played (view finder) and the image is to be captured.
I want the user to set the bar code on focus to the line's offset, so that the reading comes accurately (i.e. user can see the line and focus the required area over it which is the beginning of the Bar-code on the view finder ).

More Over I have seen the menu (Sony Ericsson's) default camera view finder, they have icons placed on the screen when you click on the settings.

Is it possible to achieve such thing.
Regards
and thanks in advance

berrydeveloper 07-14-2008 02:37 AM

for Blackberry devices?, Also, for J2me it is not possible to draw line on the canvas where the video is played. any one may help you on this...

abhsax1978@hotmail.com 07-21-2008 05:01 AM

They do it in Sony Ericsson using their native things.
Regards

abhsax1978@hotmail.com 07-22-2008 09:11 AM

Perhaps creating a new canvas, drawing a line using fillRect and displaying it over the videoCanvas may do. I discovered when I was trying to display alert using Canvas and forgot to fillRect, and it appeared transparent.
Such a Canvas alerts with animated images look fabulous.
Regards


All times are GMT -5. The time now is 06:00 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.