importing ZXing library for QR code Encoder

172 views
Skip to first unread message

thet mon

unread,
Apr 17, 2012, 1:30:17 AM4/17/12
to zxing
hello Everyone,
I am wondering how to import the QR code Encoder:http://
code.google.com/p/zxing/source/browse/trunk/core/src/com/google/zxing/
qrcode/QRCodeWriter.java?r=1028
to my app?
I don't want to import the whole library, any idea ?
Regards
Thet

Sean Owen

unread,
Apr 17, 2012, 10:51:44 AM4/17/12
to zx...@googlegroups.com
You want to import the library class but not the library? why? just add core.jar to your project.

thet mon

unread,
Apr 18, 2012, 6:26:14 PM4/18/12
to zxing
hello Sean, I just saw your message!
Basically, it didn't alert my mail box as before.

I got a project which is to create a QR code by scanning a 1D barcode
from a book. This is a peer to peer selling actually.
The Use case is as follow:
For example, I would like to sell my junior my old text book, then I
will scan that book's barcode, then I would set the price of the book.
Then I will put my PayPal's email link. And then I will generate the
QR code.
After that I will give the QR code to my junior. He will scan it and
pay it by PayPal.

I have read through about the QR codes and here are the facts that I
get from the research
1) I need to store the book info in a web link since QR codes save the
URLs
2) They have to be short since they cannot hold so many characters, so
I need URL shortening service
3) I need to write a JSon Parser to break down that URL
(However, I don't know how to do it yet since I don't know how to
store things in a URL)
Any idea?
Pls kindly give me some step by step guides since I just started doing
Android 4 months ago and I am very new with every thing .

Have a lovely day.

Regards
Thet

In that QR code I have to write a

thet mon

unread,
Apr 18, 2012, 6:29:48 PM4/18/12
to zxing
Also Sean
My supervisor asked me to do a QR code with expire date. So, it will
say" sorry this book has sold out" when I scan 1 month later.
I would like to know how to do that too.

Regards
Thet
Reply all
Reply to author
Forward
0 new messages