I need to write an android aplication to create/generate a barcode using a string with the value to show.
The android app had to show a pic with the barcode to be scaned with other phone.
I read a lot from internet and everybody recomend to use Zxing for that, but i can't find some tutorial about how to use Zxing to create barcodes on android.
I have experince using Zxing with Android-Integration to read QR Code.
I have to use the same to create barcode?
Can i use Android-Integration?
Thank you very much
Sorry for my poor english
Scanning via Intent should be all you need: https://github.com/zxing/zxing/wiki/Scanning-Via-Intent
Related
I'm going to develop mobile app that using QR Code to make easy for the user to view the information detail of the item. Anyone have reference to help me to create QR Code?
Just use the Zxing library, it is an open-source, multi-format 1D/2D barcode image processing library implemented in Java and it supports QR Code.
There are very good tutorials explaining how to create apps to read QR codes from scratch using Zxing library.
You can use Zbar or ZXing. For ZXing tutorial is Here
In my android application I need the QR code reader, so after lots of search, I ended up with the point that there is no need to implement QR code encode/decoder from scratch and that I can use ZXing library to do the task. but now im stuck with HOW to integrate ZXing library in my code, and then how to retrieve the scanned data into a string to my project? I know, this question might be a stupid one but Im newly introduced to such a topic.
Thanks alot.
By far the simplest, if you aren't in a position to write a full scanning app, is not to write a full scanning app. Integrate with an existing one by Intent in 10 minutes: https://code.google.com/p/zxing/wiki/ScanningViaIntent
The ZXing wiki has instructions on how to do this easily.
Basically you include some simple code that starts the ZXing Android app and then retreive the result in onActivityResult().
I want to Create an application which can read the Ba Codes. I want to do this through my on application not using third party applications like 'ZXing'. Please any coding help or tatorial...
I have already done an Android application by scanning directly a barcode with my app. I have used Zxing barcode sources to take functionnalities that I want and it's easy to make your own application which scans barcode.
More particularly, what you have to do is to design a screen which can take photos, then you just need to use the Camera object and when you have an image captured, put it in Bitmap format in parameter of one ZXing method. Then you will have the result and you can display it like you want.
If you have more specific questions about this, don't hesitate to ask. I can retrieve my code to help you.
If you go here: http://code.google.com/p/zxing/wiki/ScanningViaIntent
and follow the explanation, in order to add the class and code described in the site.
Once you've implemented it the scanner added ..
I suggest that you check out the free Scandit barcode scanner SDK for Android. It comes with a step-by-step guide, example code and instructional video how to get started and it also works with low-end Android devices that have no autofocus camera and/or limited resolution.
If you are interested in converting the UPC numbers scanned to product names, there is also a product API.
[Disclaimer: I am a developer at Scandit]
Hi i am a student doing an academy project based on android.my project mainly has to perform a book search from 3 webites like amazon,flipkart,rediff etc using a barcode scaner to scan the barcode and fetch the data of the book from the 3 sites.
i used the zxing library to develop a barcode similar to the existing barcode scanner and ran it on the android emulator and on phone and its working
nw i wana include this barcode scanner inside my bookcomparison app but i dont wana call the app via an intent but i wana have an inbuilt barcode scanner inside my app.
pls help me and thanks in advance
See this post:
http://damianflannery.wordpress.com/2011/06/13/integrate-zxing-barcode-scanner-into-your-android-app-natively-using-eclipse/
Sean Owen, one of the developers for ZXing, has also mentioned this on this blog. Do take a look at his comments.
I need to create an android application which pretty much works like a qr code decoder.
I want to use the android phone camera and read only the qr code from the camera preview, and send it to a decoder library probably zxing which gives me the result. I don't want to use the zxing intent which uses another application barcode scanner.
I am able to take a picture using phone camera, but I don't know how to read only the qr code part from the preview. I need help in this regard and also how to send the data to decoding library.
That's a pretty tall order to ask for here on SO. My advice would be to study the xzing source at http://code.google.com/p/zxing/ and/or see if you can legitimately incorporate it via the Apache 2.0 license into your project.
ok, this turns to be pretty much simple and requires some effort too.
Download the ZXing source code.
There is a CaputureActivity class , which basically initiates the scan and also displays the result.
You have to work on this class to integrate ZXing scanner in to your application, which pretty much looks like it is part of your app.
There is lot more support in the ZXing reader than just scanning QR-codes and more features, which you might want to eliminate , if you would like to have only QR-code scanner.
HTH.