android – Bar Code Scanner API-ThrowExceptions

Exception or error:

Possible Duplicate:
Android – Barcode Scanning, Options? Zxing?
Android: Is there a way to implement the barcode scanner into an app?

I am planning to integrate a barcode reader to my application. Is there already an android API for that?

How to solve:

Update: Barcode Detection is now available in Google Play services. Code lab, api docs, and a sample project.

There is no API in android. You have to use third party libraries. You can try Zxing. There are lot of discussions related to barcode scanning on stackoverflow. Search for them. Few are
Using ZXing to create an android barcode scanning app.

Android: Is there a way to implement the barcode scanner into an app?

###

No, Android doesn’t have any inbuilt bar-code scanner api. I think use Zxing it support many formats for scanner. Also its now integrated for Android. So you can easily use this..

Leave a Reply

Your email address will not be published. Required fields are marked *