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


BISSELL 3-in-1 Turbo Lightweight Stick Vacuum, 2610 (Black) picture

BISSELL 3-in-1 Turbo Lightweight Stick Vacuum, 2610 (Black)

$36.06



Vacuum Bags Replacement 10 Quart HEPA Backpack Construction -  LOT 3 pks/10 each picture

Vacuum Bags Replacement 10 Quart HEPA Backpack Construction - LOT 3 pks/10 each

$75.00



BISSELL PowerForce Helix Turbo Pet Upright Vacuum 3332 picture

BISSELL PowerForce Helix Turbo Pet Upright Vacuum 3332

$55.00



3 CFM Air Vacuum Pump HVAC Manifold Gauge Set AC A/C Refrigeration Kit picture

3 CFM Air Vacuum Pump HVAC Manifold Gauge Set AC A/C Refrigeration Kit

$45.91



VEVOR 5 Gallon Vacuum Chamber with 5CFM Vacuum Pump Kit 1/3HP Single Stage 110V picture

VEVOR 5 Gallon Vacuum Chamber with 5CFM Vacuum Pump Kit 1/3HP Single Stage 110V

$121.98



3,5CFM 1/4HP Air Vacuum Pump HVAC and Solid R134A Kit AC A/C Manifold Gauge  picture

3,5CFM 1/4HP Air Vacuum Pump HVAC and Solid R134A Kit AC A/C Manifold Gauge

$85.16







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