我怎么可以扫描QR code。使用Android的相机? [英] how can i scan QR code using android camera?

查看:415
本文介绍了我怎么可以扫描QR code。使用Android的相机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  如何去code QR code

如何在应用程序中使用的摄像头扫描QR或酒吧code和给我的结果?

How can i use in an application the camera for scanning QR or bar code and show me the results?

    Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
    startActivityForResult(intent, 0);

我有什么把那么来捕捉图像,并得到该产品的信息?

What do i have to put then to capture the image and get the information of the product?

推荐答案

我建议你使用从谷歌ZXing库

I recommend you use ZXing library from google

的http://$c$c.google.com/p/zxing/

Android的酒吧code扫描仪,使用该库,其性能是成功的。

Android Barcode Scanner, uses that library and its performance is succesful

这篇关于我怎么可以扫描QR code。使用Android的相机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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