得到一个QR code。使用android系统中zxing扫描图像中的onActivityResult [英] Get a qrcode scanned image in onActivityResult using zxing in android
问题描述
我成功地扫描QR code和显示以下结果网址进入TextView的。 etxt_qr code.setText(intent.getStringExtra(SCAN_RESULT));
现在我要显示的扫描图像为imageview.I不知道到底是什么,我想do.Is zxing返回与任何图像显示的ImageView或者告诉我的过程中显示的扫描图像的结果为imageview.please给我一个要紧的帮助,我是从过去两天挣扎this.thanks。
I am scanning the qrcode successfully and displaying the result url into the textview following.
etxt_qrcode.setText(intent.getStringExtra("SCAN_RESULT"));
Now i want to display the scanned image into imageview.I don't know exactly what i want to do.Is zxing return anything related to image to display imageview or tell me the process to display the result scanned image into imageview.please give me a needful help i am struggling from past two days on this.thanks.
推荐答案
有不是一个办法做到这一点。图像没有回来。问题是,该图像可以是相当大,以包裹。但随着下采样和COM pression,可能不是一个大问题。如果你想在它的工作我会招待补丁。 HTTP://$c$c.google.com/p/zxing
There's not a way to do it. The image is not returned. The problem is that the image can be quite large to parcel. But with downsampling and compression, probably not a big deal. I'd entertain a patch if you want to work on it. http://code.google.com/p/zxing
这篇关于得到一个QR code。使用android系统中zxing扫描图像中的onActivityResult的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!