Search code examples
androidzxing

Get a qrcode scanned image in onActivityResult using zxing in android


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.


Solution

  • 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