• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Writing a Barcode scanner in Android.

 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic