get only the barcode

30 views
Skip to first unread message

G

unread,
Dec 30, 2011, 9:41:12 AM12/30/11
to zxing
Hi,

My application calls the barcode scanner via intent to get the
barcode.
When the scanner finishes, it display the barcode along with
the data. Is there anyway to force it to display only barcode and send
it to calling intent?

I am using android.

Sean Owen

unread,
Dec 30, 2011, 1:03:01 PM12/30/11
to zx...@googlegroups.com
It just shows "Found product" right? what do you mean?

Gajendra Bang

unread,
Dec 31, 2011, 1:45:53 AM12/31/11
to zx...@googlegroups.com
at this time, when the barcode scanning is completed, it shows barcode info and then popup for search etc.   I just want it to scan the barcode and then return to my app.

I have checked the source, it has two functions in handleDecode functions.   One is handleDecodeExternally and handleDecodeInternally.

handleDecodeInternally is being called, I think and shows all the info, links to search it in google etc.

I want to call handleDecodeExternally but without embedding the zxing source in my app.  I just want to scan via Intent

You got me?

is it possible to pass some parameters and it returns what I want?

Onur Çınar

unread,
Dec 30, 2011, 1:41:44 PM12/30/11
to zx...@googlegroups.com
Can you read these qr code by zxing?

It just shows "Found product" right? what do you mean?



--
Saygılarımla,
Onur ÇİNAR

Sean Owen

unread,
Dec 31, 2011, 9:11:30 AM12/31/11
to zx...@googlegroups.com
Then, you are just running Barcode Scanner and not calling by Intent. See http://code.google.com/p/zxing/wiki/ScanningViaIntent

Steven Parkes

unread,
Dec 31, 2011, 12:30:29 PM12/31/11
to zxing
Those are data matrix codes, not qr codes. That shouldn't be a
problem. They also appear to be mirrored, which probably is.

On Dec 30, 10:41 am, Onur Çınar <onur.ci...@technarts.com> wrote:
> Can you read these qr code by zxing?
>
> http://demobilisim.com/img1.jpg<http://demobilisim.com/img2.jpg>http://demobilisim.com/img2.jpg

G

unread,
Dec 31, 2011, 1:10:44 PM12/31/11
to zxing
Ya, thanks. Sorry for the confusion.

Sean Owen

unread,
Dec 31, 2011, 2:53:26 PM12/31/11
to zx...@googlegroups.com
(Please start new threads rather than reply to unrelated ones.)
Steven is right that these are mirrored and so won't decode. Your webcam mirrors images so they look "right" to you.
Reply all
Reply to author
Forward
0 new messages