zxing

Extract the data from QR Codes and create a new QR code with colour

牧云@^-^@ 提交于 2019-12-07 06:27:13
问题 Has anyone heard of this before ? Extract the QR Codes (all the QR Codes must be in same Width and Height {square}) and get the data from each QR Code , and combine them. Then get the every pixel value from each QR Code and change them to hexadecimal . You will give #FFFFFFFF , #FF000000 , #00000000 (white,black, transparent) and the like (but for black and white QR Code , it would only 2 of them). Then for each value from each QR Code, by creating a new colour QR Code which the colour is

2d Barcode vs 1d barcode - speed, accuracy, size

回眸只為那壹抹淺笑 提交于 2019-12-07 06:04:35
问题 I wanted to implement barcode for one of my mobile project requirements. The amount of data that is to be stored is very little (<25 alpha-numeric). I want to know if its wiser to implement a 1d barcode or a 2d barcode (Qr code particularly) for this project. I would be really glad if someone could educate me on the following aspects from a 1d vs 2d perspective: scanning speed size (minimum display size that is needed, for the mobile camera to recognize -- this is more crucual) accuracy

How to stop continuous scanning by zxing-android-embedded in Android

心已入冬 提交于 2019-12-07 04:51:35
问题 I am using Zxing-android-embedded (https://github.com/journeyapps/zxing-android-embedded) to scan QR codes. I have imported the library from github . When the app starts , the camera is scanning the code repeatedly as long as the camera is placed on a barcode. I want to stop the scanning(but not the camera preview) once the barcode is detected and show a dialog box with "Confirm" button, "Cancel" button, and a input box. When user press the "Confirm" or "Cancel" button it should start

zxing pdf417 size of the image

风格不统一 提交于 2019-12-07 04:41:03
问题 I am testing PDF417 zxing libs, but resizing the output doesn't work as I exptected. The output has always the same aspect ratio. Changing the dimensions doesn't influence the output, I tried EncodeHintType as suggested in other messages, but with no success. Here the code: public class PDF417demo { public static void main(String[] args) { String barcodeMessage = "test"; final String PATH = "/home/test/"; final int WIDTH = 30; BitMatrix bitMatrix; Writer writer; try { Map hints = new HashMap(

How to open “zxing Barcode” scanning screen in a small window?

旧城冷巷雨未停 提交于 2019-12-07 03:01:16
问题 "zxing Barcode" scanner is successfully working in my App https://github.com/journeyapps/zxing-android-embedded I want to open the scanning screen (i.e., Intent), on same Activity in the center in a small window How can I get this type of Interface ? http://i.stack.imgur.com/bpT5R.jpg 回答1: You may use Journey's Library. You can use the scanner as a component just like an image or a text. It's based on ZXing. =) 来源: https://stackoverflow.com/questions/30937104/how-to-open-zxing-barcode

Generating GS1 DataMatrix using ZXing.Net

那年仲夏 提交于 2019-12-06 14:37:54
问题 What I need Is to generate a working GS1 DataMatrix, using this test content: (240)1234567890(10)AA12345(11)123456(21)1(96)1234567 Steps I've downloaded the nuget package from here: and I've created a console app that uses this code: private static void DoGs1DataMatrixStuff() { var writer = new BarcodeWriter { Format = BarcodeFormat.DATA_MATRIX }; writer .Write("(240)1234567890(10)AA12345(11)123456(21)1(96)1234567") .Save(@"C:\Temp\barcode.png"); } There's no obvious specific GS1_DataMatrix

barcode scanning in web apps for smartphone/tablet browsers

爱⌒轻易说出口 提交于 2019-12-06 14:21:33
问题 I am using zxing://scan for barcode scanning in my web application for android devices. The phonegap packaging is not acceptable by the user. They want the application to be accessible via browsers only. But as per my understanding, the zxing://scan can't be an Ajax request url. The only solution which I came through was to window.location.href = zxing://scan/?ret="+escape(window.location.href+"?val={CODE} which will invoke the android barcode scanner and assign the barcode value to the {CODE

Android. Why would an image in activity 1 end up in activity 2? (Zxing CaptureActivity is activity 2)

若如初见. 提交于 2019-12-06 14:13:00
All was going well developing a new app until I started dressing up the interface. I have implemented the zxing barcode scanner within my project for user convenience and my custom control. The only changes I make to the CaptureActivity are in handling the scan results. I also shot through the AndroidManifest.xml and took away the intent filters to avoid my app from being offered for the requests the barcode scanner app handles. (It doesn't feel right having the android OS offer my activity alongside of the hard earned "awesomeness" of Xzing's Barcode Scanner) I added two ImageViews to my

How to integrate tab host with zxing qr code scanner?

久未见 提交于 2019-12-06 13:43:18
I want to integrate zxing qr code scanner in my application which is having three tabs in my application. Currently when my one of the tab bar butto gets pressed at that time I am calling zxing qr code's scann activity but when ever its calling it is showing error like below. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.beepz/com.google.zxing.client.android.CaptureActivity}: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost' Rather my code is having both tab host control and I have instantiated tab host in

Creating colored QR codes using zxing

六月ゝ 毕业季﹏ 提交于 2019-12-06 11:26:02
问题 I am using the google open source java zxing creator: http://code.google.com/p/zxing/ to create QR codes. I have everything in place and working (I'm loading the java files using coldfusion and writing the image to the browser.) What I want now is to change the black QR colour to something else. Is there an easy way of doing this? Would I need to edit a decompiled version of the encoder java file? Or is there a way I could add a color argument to the encoding routine? Thanks Shaun 回答1: In