BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-14-2008, 02:23 AM   #1
abhsax1978@hotmail.com
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
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
berrydeveloper
New Member
 
Join Date: Jul 2008
Model: 8320
PIN: N/A
Carrier: Airtel
Posts: 6
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
abhsax1978@hotmail.com
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
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
abhsax1978@hotmail.com
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
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5 picture

OEM Dell XPS 8910 8920 8930 Alienware Aurora R5 R6 R7 Front Cooling Fan 7M0F5

$13.81



DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X  - Made By DELL picture

DELL 330-6581 3306581 725-10229 OEM LAMP FOR 1510X 1610HD 1610X - Made By DELL

$39.98



NEW VESA ADAPTER PLATE FOR DELL E-SERIES MONITORS - OEM picture

NEW VESA ADAPTER PLATE FOR DELL E-SERIES MONITORS - OEM

$6.00



Dell OEM Latitude Rugged Extreme 7404 Left and Right Mouse Buttons 00008 picture

Dell OEM Latitude Rugged Extreme 7404 Left and Right Mouse Buttons 00008

$5.95



Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI picture

Genuine OEM Dell 2375 B2375dnf B2375dfw 110V Fuser fixing N41P2 sku 724-BBCI

$94.99



OEM Dell 3310 2 in 1 LCD Touch Screen D2TNH NV133FHM-T00 06GHX8 picture

OEM Dell 3310 2 in 1 LCD Touch Screen D2TNH NV133FHM-T00 06GHX8

$54.00







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