如何调用扫描棒code历史,从zxing [英] How to call scanned barcode history from zxing

查看:172
本文介绍了如何调用扫描棒code历史,从zxing的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在扫描棒codeS我有一个叫历史记录按钮的onclick它应该显示扫描棒code历史我不知道该怎么称呼历史,从zxing。

I am scanning barcodes using Zxing in my application i have a button called History onclick it should display scanned barcode history i dont know how to call history from zxing.

推荐答案

如果通过ZXing,符合你的意思是你所使用的库(不斑马线客户端应用程序)来扫描QR codeS,那么你将不得不实现历史有关你自己的功能。基本上每次都成功扫描时间的东西保存在数据库的基础项目。

If by Zxing, you mean you are using the library (not the zxing client app) to scan QR codes then you will have to implement the history related functionality on your own. Basically save items in the database base each time you have successfully scanned something.

看看历史记录功能的样品zxing Android客户端在执行。 <一href=\"https://$c$c.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/history/HistoryManager.java\" rel=\"nofollow\">https://$c$c.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/history/HistoryManager.java

Take a look at the implementation of history feature in the sample zxing android client. https://code.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/history/HistoryManager.java

这篇关于如何调用扫描棒code历史,从zxing的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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