Tycoon
Tycoon

Reputation: 538

How to call scanned barcode history from 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.

Upvotes: 1

Views: 1477

Answers (1)

Amulya Khare
Amulya Khare

Reputation: 7708

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.

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

Upvotes: 1

Related Questions