aspose file tools*
The moose likes Android and the fly likes Writing a Barcode scanner in Android. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Writing a Barcode scanner in Android." Watch "Writing a Barcode scanner in Android." New topic
Author

Writing a Barcode scanner in Android.

Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369

My application wants to have functionality of reading Barcodes. The image will be captured by a camera and the application should scan the Barcode and use it in some meaningful way.I did a google and stumbled upon - zxing the open source library for Barcode reader.There is also an application named "Barcode Scanner", written using the same zxing libraries, which I can install and invoke from my application using intents. But, lets say, that is something I cannot do(I dont see a reason to assume that the clients of my application will have that installed).

I will have to probably use the core libraries myself? I am unsure of where to start.
Any pointers or links to tutorials that can help here will be appreciated.

Thanks.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Writing a robust barcode scanner library is not going to be trivial.
Luckily, zxing is released under Apache license so you can use it or build on it even for a commercial product.

In any case, having a look at the zxing source is probably a good start - Android client.


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369

Sonny Gill wrote:Writing a robust barcode scanner library is not going to be trivial.
Luckily, zxing is released under Apache license so you can use it or build on it even for a commercial product.
...


I don't intend to write everything from scratch but would be using the core libraries of zxing. I just need something to start(tutorial etc.); thanks for sharing the link!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing a Barcode scanner in Android.
 
Similar Threads
Barcode input
reading from usb barcode scanner
Zxing integration into android app
Sending Barcode to a Zebra Printer via ZPL
how to read barcode code 39 type from scanner?