Barcode scanner in android
I am developing an barcode scanning application using zxing(in eclipse). I have read many stack overflow threads about developing. I saw mostly things like, need to use a barcode scanner app for handling the decoding the barcodes and QR-codes.
Is there any option to do that also using the code like capturing the image u开发者_JAVA技巧sing camera and then read? We need to create an independent app. Can anyone please help me? Thanks in advance and expecting a detailed reply if possible.
One of the biggest advantages of the Android platform is that you can leverage other apps to provide increased usefulness for yours without a ton of work. In essence yes you could rewrite the bar-code app, but a lot of people will ask why would you want to reinvent the wheel? Now it is true that the zxing process is open source so you can look at their entire program, however I found it more effective to just leverage what was already there.
If you place a check in the program to see if the system can handle the action, you can recommend people get the bar-code scanner to unlock that functionality.
This process is encouraged by the folks at Google. However, as always, you can always try to rewrite it from scratch.
精彩评论