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


CBB61 250V  Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF picture

CBB61 250V Capacitor 2 wires 1/2/3/3.5/4/5/6/7/8/9/10/12/15/18/20/24/25/30 UF

$129.95



6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF picture

6.3V 10V 16V 25V 35V 50V 100V 400V SMD Aluminum Electrolytic Capacitor 1-1000 UF

$155.59



45/5 MFD ±5% Dual Run Capacitor 370 450 VAC CBB65 AC Motor HVAC 45+5 uF Fan 10pk picture

45/5 MFD ±5% Dual Run Capacitor 370 450 VAC CBB65 AC Motor HVAC 45+5 uF Fan 10pk

$85.99



5pc Radial Electrolytic Capacitor 250V 100V 50V 25V 16V 0.22uF-4700uF 10000uF picture

5pc Radial Electrolytic Capacitor 250V 100V 50V 25V 16V 0.22uF-4700uF 10000uF

$27.99



10 MFD AC Capacitor, 10uF ±5% 370VAC/440 Volt Oval Run Start Capacitor picture

10 MFD AC Capacitor, 10uF ±5% 370VAC/440 Volt Oval Run Start Capacitor

$10.97



	 Polyester Film Capacitor 1NF -3.3uF 100V 250V 400V 630V 1600V CBB/CL Capacitor picture

Polyester Film Capacitor 1NF -3.3uF 100V 250V 400V 630V 1600V CBB/CL Capacitor

$107.53







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