BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-14-2008, 02:23 AM   #1 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default draw a line on a VideoCamera canvas

Please Login to Remove!

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

Last edited by abhsax1978@hotmail.com : 08-28-2008 at 11:50 PM.
Offline  
Old 07-14-2008, 02:37 AM   #2 (permalink)
New Member
 
Join Date: Jul 2008
Model: 8320
PIN: N/A
Carrier: Airtel
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...
Offline  
Old 07-21-2008, 05:01 AM   #3 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default

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

Last edited by abhsax1978@hotmail.com : 08-01-2008 at 09:26 AM.
Offline  
Old 07-22-2008, 09:11 AM   #4 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Wink

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
Offline  
Closed Thread


Thread Tools

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.