Abhinav Tyagi
Abhinav Tyagi

Reputation: 5266

Android Barcode Scanner - Automatically choose scanner

I have integrated ZXING barcode scanner in my app.

How can stop my app for asking different scanner apps(based on zxing) and automatically choose my app for scanning ?

Upvotes: 0

Views: 229

Answers (1)

Sean Owen
Sean Owen

Reputation: 66886

Use IntentIntegrator, which will automatically choose the official Barcode Scanner app by restricting the packages searched.

http://code.google.com/p/zxing/source/browse/trunk/android-integration/src/com/google/zxing/integration/android/IntentIntegrator.java

Upvotes: 0

Related Questions