zxing

How To Use ZXing C# Port

本小妞迷上赌 提交于 2019-11-28 09:22:55
NOTE: My original question was about whether the ZXing C# port is reliable, but here, I'm trying to figure out how to use it. Thus, they are not duplicates. I'm trying to use the ZXing C# module, but I'm having trouble. Does anyone who has used ZXing before know how to do it correctly? Unfortunately, the C# documentation is quite small. My current code is: using com.google.zxing; using com.google.zxing.client.j2se; using com.google.zxing.common; //... Reader reader = new MultiFormatReader(); MonochromeBitmapSource image = new BufferedImageMonochromeBitmapSource(new Bitmap(Image.FromFile(

Zxing scanner Android Studio [closed]

孤街浪徒 提交于 2019-11-28 08:49:22
Hi i know how to import a minimal Android library project to scan a qr code but after it scanned the qr code i would like to have a result of what the QR code get (url for example) but i really don't know how to retrieve the results so that's why i'am asking your help. I'm trying to use this : https://github.com/embarkmobile/zxing-android-minimal#custom-layout I use this to start the scanner : IntentIntegrator integrator = new IntentIntegrator(this); integrator.setCaptureLayout(R.layout.custom_layout); integrator.initiateScan(); Thanks in advance i did this for the webview wb = (WebView

Using zxing Barcode Scanner within a web page

人盡茶涼 提交于 2019-11-28 06:34:45
Is there a working example how you can use the zxing Barcode Scanner from a web page? Referring to this documentation: https://github.com/zxing/zxing/wiki/Scanning-From-Web-Pages shouldn't the following test code work? function Test1() { $.ajax( { url: "zxing://scan/?ret=http%3A%2F%2Ffoo.com%2Fproducts%2F%7BCODE%7D%2Fdescription&SCAN_FORMATS=UPC_A,EAN_13", success:function() { alert("success"); }, error:function() { alert("error"); } }); } function Test2() { $.ajax( { url: "http://zxing.appspot.com/scan?ret=http%3A%2F%2Ffoo.com%2Fproducts%2F%7BCODE%7D%2Fdescription&SCAN_FORMATS=UPC_A,EAN_13",

How to implement QR code scanner in Fragment in portrait mode in android?

蓝咒 提交于 2019-11-28 05:56:17
问题 I am developing an application,In this application I have to implement QR code scanner, I can achieve this thing easily in activity with the help of Zxing library but the thing is that the scanner should be in fragment and the Fragment added in ViewPager and I also want customise the view of scanner. 回答1: Use this Library for QR code scanner it is the Modification of ZXING Scanner project for easy Android QR-Code detection.QR Code Scanner 回答2: For Android Studio Users repositories { maven {

How to force using zxing lib with only my application?

眉间皱痕 提交于 2019-11-28 05:23:49
问题 Ok lets say there are 3 different applications which are using zxing lib on the phone. Whenever I want to open zxing with my own application android asks me whether to complete action using app 1 or app 2 or my own app. How do I force it to run only through my app without any dialog? Is there any chance to do it? EDIT In Additional to CommonsWare, you can do that if you want to handle barcode result on the other activity. step 1: jump to method called handleDecode in Capture Activity. Add

ZXing Barcode Scanner Intent: set DecodeHintType.ASSUME_GS1

你说的曾经没有我的故事 提交于 2019-11-28 05:04:39
问题 In my app I want to scan a GS1-128 barcode, and need the FNC1 characters passed from the ZXing barcode scanner. Right now I just receive the plain text without the FNC1 characters. Is there a way to pass the DecodeHintType.ASSUME_GS1 via Intent to the scanner app? I don't want to include the complete scanner source in my app and rather use the Intent. In the source code of the scanner I can see that the DecodeHintType needs to be set to achive that: https://code.google.com/p/zxing/source

Scan multiple barcodes with ZXing

安稳与你 提交于 2019-11-28 04:54:10
问题 I am currently trying to get ZXing to scan some barcodes. It's doing that job fine so far (via intent). Now I would like to make it decode multiple barcodes at once (they are placed beneath each other) without having to scan each barcode individually. Is this even possible via intent? If not, a short example of how to do it the other way would be appreciated :) I've so far only found a pretty old thread where a user requested this feature and some developers seem to have integrated it.

Undefined symbols for architecture armv7 when using ZXing library in XCode 4.5

霸气de小男生 提交于 2019-11-28 03:56:30
What I am trying to do Integrate Zxing , QR code reader framework, in my iPhone project. I checked out ZXing sdk from here . I ran the sample project coming with ZXing, named ScanTest, without any issues. But when I try to integrate the library with my project I am getting the error mentioned. Project specification Target OS : iOS 6.0 Deployment target : iOS 5.0 or above. Tested on : iPhone 4 and iPhone 3GS. XCode : Xcode 4.5.1 ZXing version : 2.0 Problem When I build, after doing every integration steps in ZXing readme file , I am getting build errors like Undefined symbols for architecture

Embedding ZXing in android app

一世执手 提交于 2019-11-28 03:36:13
So I'm another unlucky android development beginner who needs to have ZXing barcode scanner embedded in his app. There is plenty of questions asking how to do this here on stackoverflow but none of them has an answer that is really understandable and explanatory for a beginner. All the answers say something like "all you have to do is build the core lib of ZXing project, reference it your project and then copy some code from the ZXing's android/directory to your app and you're done". But this is not very helpful for a noob. I have ZXings core library referenced in my project. I have the

How to integrate Zxing Barcode Scanner without installing the actual zxing app (cannot resolve symbol: .android.CaptureActivity)?

大兔子大兔子 提交于 2019-11-28 02:57:47
I want to integrate zxing scanner into my app without needed of external application (zxing scanner from play store). This is my code Button scan = (Button) findViewById(R.id.scan_button); scan.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.setPackage("com.mypackage.app"); intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(intent, SCANNER_REQUEST_CODE); } }); @Override public void onActivityResult(int requestCode, int resultCode, Intent intent) { if (requestCode