santoshko / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Need to use ZXing with codename one? #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I need to use ZXing with Codename One. I need to scan the QR code using ZXing. 
I will develop this application on both Android and iPhone. How to do this one? 
Is it possible?

Original issue reported on code.google.com by bharath...@gmail.com on 20 Apr 2012 at 6:51

GoogleCodeExporter commented 9 years ago
We intend to add this functionality in the coming month. If its urgent we can 
push it forward.

Original comment by shai.almog on 20 Apr 2012 at 6:54

GoogleCodeExporter commented 9 years ago
Yes. Its urgent work. Need to start this application quickly.

Original comment by bharath...@gmail.com on 20 Apr 2012 at 6:58

GoogleCodeExporter commented 9 years ago
Great news guys, thanks!.  I have use cases for this as well and had done some 
preliminary efforts, I'll hold off now and just wait.

You can probably merge this with rfe issue 130.

Original comment by 1815...@coolman.ca on 20 Apr 2012 at 8:08

GoogleCodeExporter commented 9 years ago
You are probably better off using ZXing on the server-side for now.  Take the 
picture, and send it to the server for decoding with ZXing.  They have an 
outdated J2ME port of ZXing, which you can embed into your Codename-1 project.  
It will probably take some tweaking in order to get it to work.

Original comment by tuga...@gmail.com on 21 Apr 2012 at 6:04

GoogleCodeExporter commented 9 years ago
I considered that, but it's a terrible user experience.  If you've tried any of 
the qrcode scanners on Blackberries, even on the latest ones, you'll know what 
I mean.  I've already been testing ZXing on J2ME and it works quite well on my 
Symbian device.

Original comment by 1815...@coolman.ca on 21 Apr 2012 at 7:20

GoogleCodeExporter commented 9 years ago
As a stopgap measure I implemented this using the native interfaces (in SVN).
I'm leaving the RFE open since I would like to integrate this directly into 
Codename One.
http://codenameone.blogspot.com/2012/04/code-of-zebra-zxing-on-codename-one.html

Original comment by shai.almog on 23 Apr 2012 at 11:59

GoogleCodeExporter commented 9 years ago
Thank you Shai. Good effort. :)

Original comment by bharath...@gmail.com on 23 Apr 2012 at 3:12

GoogleCodeExporter commented 9 years ago
I want to implement zxing as native app inside my application instead of asking 
user to download it from internet,  have done this in lwuit for android how can 
i do thje same using codename 1

Original comment by 18.agar...@gmail.com on 24 Apr 2012 at 11:27

GoogleCodeExporter commented 9 years ago
Issue 130 has been merged into this issue.

Original comment by shai.almog on 7 May 2012 at 6:49

GoogleCodeExporter commented 9 years ago
This will be updated as part of the next update with a new CodeScanner API 
allowing for barcode/QR code scanning. On iOS we don't use zxing since it only 
supports QR codes and not barcodes on that platform, instead we use zbar which 
works for both.

Original comment by shai.almog on 6 Nov 2012 at 12:12

GoogleCodeExporter commented 9 years ago
I have tried this on Android where when I am canning without any preloaded 
Scanner then I am getting NuLLPointerException whereas when I installed the 
scanner it worked perfectly.

Original comment by 18.agar...@gmail.com on 19 Nov 2012 at 6:48