如果除了格式和数据之外,ZXING library for android的任何想法都可以返回它刚扫描的代码的图像吗?
感谢!
Intent intent = new Intent("com.google.zxing.client.android.SCAN");
startActivityForResult(intent, 0);
***
public void onActivityResult(int requestCode, int resultCode, Intent intent) {
if (requestCode == 0) {
if (resultCode == RESULT_OK) {
String contents = intent.getStringExtra("SCAN_RESULT");
String format = intent.getStringExtra("SCAN_RESULT_FORMAT");
///NEED TO GET BITMAP OF THE SCANNED CODE
...
} else if (resultCode == RESULT_CANCELED) {
...
}
}
}