Is camera flash support in zxing barcode scanning for android?

1,068 views
Skip to first unread message

Shailesh Vishwase

unread,
Oct 14, 2013, 8:25:44 AM10/14/13
to zx...@googlegroups.com
Hello,

        I am trying to use camera flash when scanning the barcode using Zxing, but after the scanner is on, flash light get automatically off.
Please get off me from that problem. 

Thanks in Advance.

Shailesh Vishwase

Sean Owen

unread,
Oct 14, 2013, 8:29:45 AM10/14/13
to zx...@googlegroups.com
Look in Settings and set the front light to "On" not "Auto"

Shailesh Vishwase

unread,
Oct 14, 2013, 9:48:21 AM10/14/13
to zx...@googlegroups.com
Hello Sir,

            Actually I am using Zxing 1.1.jar in my app, so there is no any setting option while in scan mode. There is scan button in my app, after clicking on it, I have called 
IntentIntegrator.initiateScan(Inventory.this, R.layout.capture,R.id.viewfinder_view, R.id.preview_view, true); and after calling that flash get off. 

So, what should I do?

Sean Owen

unread,
Oct 14, 2013, 10:39:55 AM10/14/13
to zx...@googlegroups.com
I don't know what you're saying... 1.1 is incredibly old, surely that's not true. You say you are using intents, but you are also using a .jar. These can't both be true. In any event, the app still has a flash setting that I mentioned.

Shailesh Vishwase

unread,
Oct 16, 2013, 1:01:47 AM10/16/13
to zx...@googlegroups.com
Hi,
     I have already used zxing 2.2 in my project, it support flash light but when I click for scan it ask for secondary app (i.e. zxing barcode scanner), I don't want to install any secondary app. So How do I use zxing 2.2 in my app which will support flash also?
Please help me.

Thanks

Jason Eller

unread,
Oct 16, 2013, 2:01:26 AM10/16/13
to Shailesh Vishwase, zx...@googlegroups.com

Lame

--
 
---
You received this message because you are subscribed to the Google Groups "zxing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zxing+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages