I need a barcode scanner in my android app withiout using third party app. I am using android studio. I have try bellow link for barcode scanner. Barcode scanner is open but not reading barcode. Integrating the ZXing library directly into my Android application
how to add barcode scan in android app without using another app and support letest android version?
Asked
Active
Viewed 2.1k times
4
-
can you add some code how you did it? – jagapathi Jun 30 '17 at 14:04
-
1There is also an option using google play services [Mobile Vision Barcode API](https://developers.google.com/vision/android/barcodes-overview) – MidasLefko Jun 30 '17 at 14:08
2 Answers
7
You can easily implement a bar code scanner on your own by using Google's Mobile Vision api which provides an api for bar code detection. They have provided a very simple yet excellent tutorial to implement it. Here's the link to it : https://codelabs.developers.google.com/codelabs/barcodes

Sudhanshu Vohra
- 1,345
- 2
- 14
- 21
5
Hello I solved this using GitHub sample project. Link is https://github.com/dm77/barcodescanner

Prashant Gadekar
- 417
- 1
- 6
- 10