Https://github.com/bmorton/ZBarSDKI'm using the Zbar QR code to scan the other SDK can alsoThe first is to import the library file:1.avfoundation.framework2.coremedia.framework3.corevideo.framework4.quartzcore.framework5.libiconv.dylibThis 5 library fileImport #import "ZBarSDK.h" in ViewController.h and inherit @property (Weak, nonatomic) Iboutlet Uiimageview *imageview;-(ibaction) Scan: (ID) sender; @prope
I'm using the Zbar QR code to scan the other SDK can alsoThe first is to import the library file:1.avfoundation.framework2.coremedia.framework3.corevideo.framework4.quartzcore.framework5.libiconv.dylibThis 5 library fileImport #import "ZBarSDK.h" in ViewController.h and inherit
123
@interface viewcontroller:uiviewcontroller @property (weak, Nonatomic iboutlet uiimageview *im
From this section, we use AV Foundation to make a barcode (not just a QR code) scanner, in addition to scanning the QR code function, but also with speech synthesis and camera zoom function.Create a single view application named COLLOQR. Open storyboard, disable sized class.
Android uses the zbar QR code scan to resolve Chinese Garbled text and scan region definitions.
Preface (this is an update to the previous blog post [android uses zbar QR code scanning ])
Project download zbarLib compilation Project
Found today
There is a static shared library in com. example. qu. MainActivity that is
Write at the top (this is an update to the previous blog post on "Android using zbar QR code Scan")Project download Zbarlib compile project project download 0 pointsBugIn 2.3 of the system holder need to set type, otherwise it will be black screen (thanks to the Netizen "(Α⒎ to Sんа) 294439435")Com.example.qu.MainActivity the 50th row of Mholder.settype (surfaceholder.surface_type_push_buffers);Found todayT
Call the System album scan to return a rusult, and then through the input text to achieve the function of the two-dimensional code generation.First step Download a zxing third party packageThen initialize the controlActivity_main.xmlLayout fileAndroid:layout_width= "Fill_parent"android:layout_height= "Fill_parent"Android:background= "@android: Color/white"android:orientation= "Vertical" >Android:id= "@+id/btn_scan_barcode"Android:layout_width= "Fill_p
(Resultpointcolor); for (Resultpoint Point:curr Entlast) {canvas.drawcircle (Frame.left + point.getx (), Frame.top + point.gety (), 3.0f, Paint);}} Request another update at the animation interval, and only//repaint the laser line,//not the entire viewfinder mask . Å è¡#̈亞 id ã version 壂 æ 忔 fermium 勫 search锛 yue decyl 紝 å duo Yeast Rice 鍦 Edition 闀挎柟褰 Juan Indent ID Ã? Postinvalidatedelayed (Animation_delay, Frame.left, Frame.top, Frame.right, Frame.bottom); }} public void Drawviewfinder ()
(1) Download the QR Code library source codeLink: http://pan.baidu.com/s/1pKQyw2n Password: R5BVWhen the download is complete, open the folder where you can see the libzxing, and add it to Android Studio, with the following: File------New-----"Import moudle(2) button click event for scannerBackground code:Public void Scanner (view view) {Startactivityforresult (N
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.