Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Zxing integration into android app

 
Anuj Prashar
Ranch Hand
Posts: 99
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I am working on an android app that involves barcode scanning. For which I am using zxing library, so far I have done this by using intent to invoke barcode scanning app. But now I have been told to integrate barcode scanning code in my app code, that is including zxing code in my app instead of using intent to invoke barcode scanning app. My question is that is it good idea to include zxing code in app? Can someone that have done zxing code integration in android app guide me how to do it.

Thanks
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first thing you should do is ask whoever told you to do this, why they want it done. What you are doing at the moment (using an intent to invoke the other app) is the correct way to do it. It means you don't have to worry about updating your app whenever zxing is updated and also means it should be easy to use an alternative barcode scanner app if the user doesn't have zxing installed.
 
Anuj Prashar
Ranch Hand
Posts: 99
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for replying. Actually client wants the app to have barcode scanning capability in it instead of downloading another app for barcode reading. One more question can we use zxing for commercial purposes.

Thanks
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to get your legal department to check the terms of the license and also check out this FAQ page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic