使用ZXing本身用棒code号以获取产品信息 [英] Using ZXing natively to get information of product using barcode number

查看:152
本文介绍了使用ZXing本身用棒code号以获取产品信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用吧code扫描棒code后得到的食品的产品信息的应用程序。

I am developing an app which uses barcode to get the product information of food items after scanning the barcode.

我不希望用户安装ZXing吧code单独的应用程序,所以我嵌入式斑马线code到我的项目。

I don't want the user to install ZXing barcode app separately so I embedded the ZXing code into my project.

于是我就能够获得条code ID号。
但我不知道如何让喜欢的名称,生产厂家,使用ZXing code数价格等方面的产品信息。由于我是有点新到Android,获取产品信息的斑马线code是为难我。

So I was able to obtain the barcode ID number. But I do not know how to get the product information like name, manufacturer, price etc from the number using ZXing code. Since I am somewhat new to android, the ZXing code of retrieving product information is difficult for me.

所以我需要如何检索从酒吧code标识产品信息的基本步骤。

So I need the basic steps on how to retrieve product information from the barcode Id.

请帮助..

推荐答案

Zxing项目并不为您提供有关产品的制造商的任何信息。你必须做你自己。酒吧code可以使用ZXing被读取,你必须检查有关产品的相应数字是在你的数据库pre-配置。

Zxing project does not provide you any information about the manufacturer of the product. You have to do it on your own. Barcode can be read using ZXing and you have to check the corresponding number related to the product which is pre-configured in your database.

这篇关于使用ZXing本身用棒code号以获取产品信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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