我可以扫描Qr的code与Android模拟器没有摄像头? [英] Can I scan a QrCode with the Android emulator without a Webcam?

查看:255
本文介绍了我可以扫描Qr的code与Android模拟器没有摄像头?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解API zxing做很多测试,以发展自己的吧code扫描仪。现在,我使用的是Android终端,但它不是最好的解决办法。那么,有没有一个解决方案,以扫描Qr的code与Android模拟器,并没有摄像头?我想象像使用放到SD卡的图像。

I'm trying to understand the API zxing to develop my own barcode scanner by doing many tests. Right now I'm using an Android terminal, but it's not the best solution. So is there a solution to scan a QrCode with the Android Emulator and without a webcam? I imagined something like using an image placed into the SDCard.

(我使用的Eclipse的Andr​​oid SDK开发这个,我不有一个摄像头。)

(I'm using Eclipse with the Android SDK to develop this and I don't have a webcam.)

推荐答案

谢谢您的回答,但我没有在我的电脑上的网络摄像头(我编辑我的问题)。

Thanks for your answers, but I haven't a webcam on my computer (I edited my question).

我发现了其中一张照片(QR code,闪光code,...)被放置在模拟器的SD卡解决方案。不幸的是它仅适用于zxing释放1.3。

I found a solution which in which a picture (QrCode, FlashCode,...) is placed on the SD Card of the emulator. Unfortunately it works only with the release 1.3 of zxing.

因此​​,如果任何人有一个想法,与最后一个版本做到这一点,我想研究它。

So if anybody have an idea to do this with the last release, I would like to study it.

这篇关于我可以扫描Qr的code与Android模拟器没有摄像头?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆