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 ?
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
Related
We can verify and read QR code using the zxing library. But is there any native API support available in Android? Or is there any other API or means to scan and read QR codes in Android?
There is no native support in Android to scan QR code.
There is no alternative for reading Barcode except for using zxing library. You can use this alternative known as biggu barcode scanner which internally uses zxing library only. Or else you also have an other alternative i.e., Calling an Activity that can scan the QR Code. If no activity is not available then it redirects to Play store and installs one app. For the second option there is no requirement of zxing library too. This is an example
I want to write an app that uses a device with a built in barcode scanner, such as this device here http://liliputing.com/2012/05/rampage-6-is-a-rugged-waterproof-android-2-3-tablet.html. I am using phonegap to build this app, Is there any way to get the input from a built in scanner like this? I do not know many specifics at the moment because I am in the process of determining whether it is a possibility. Thanks
You might want to use a barcode scanner plugin in your phonegap project. For a tablet with built in barcode scanner, it should have a button which triggers the barcode scanner and return the read result back to your app.
I need the scanner that scans the bar code as well as QR code.For this i saw one App in the Play Store is QR Barcode Scanner.But i don't how to integrate this to android application.
I want the best scanner either it is free or paid and that is easily integrate to android application.Please give me your valuable suggestions
thanks
I would recommend to use zxing (http://code.google.com/p/zxing/). It provides a number of way to integrate bar code/QR code scanning.
Personally I like the method using intent. It is very easy and robust soultion. You can read more from here.
I'm developing an app that has QR code reading ability, i'm using the Zxing library, launching via intent, so the Barcode Scanner is handling the QR reading functionality, my question is, if the user doesnt have the Barcode Scanner App installed on their device, is there a way to bring them to the app store to get the application for their device?
Peter
You should be using the ZXing IntentIntegrator, which will automatically give the user the option to visit the Play Store if the app is not installed on their device.
Here is a sample project using IntentIntegrator, including a JAR edition of that class (in the project's libs/ directory).
Hi guys iam developing an Android application which needs a Barcode Scanner to be launch when i click on a button .I have seen so many apps in the internet like Zxing.But i have seen that we need to install the project in our device and call an intent from our app to launch it.Here i dont want to use the installed app in my own app.Is it possible to develop a Bar Code Scanner through code so that it doesnt depends on the installed applications in the device.And at the same time i need to capture the Barcode and display in a Textview.Any suggestions is highly appreciated.
You could just use the source code from the ZXing app instead of making your own scanner. Their source code is included on their downloads page at http://code.google.com/p/zxing/. It would definitely be more work than just relying on an intent to their application, but a lot less work than making a barcode scanner from scratch.