You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Shi Jinghai (JIRA)" <ji...@apache.org> on 2015/08/21 12:11:46 UTC

[jira] [Commented] (OFBIZ-4154) Use ZXing to generate QR 2d barcode

    [ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14706504#comment-14706504 ] 

Shi Jinghai commented on OFBIZ-4154:
------------------------------------

I just submitted some pieces of code to trunk. Here are the changes:

1. Add zxing-core-3.2.0.jar to framework/base/lib and .classpath. This jar is in Apache License 2.0 and got from http://repo1.maven.org/maven2/com/google/zxing/core/3.2.0/.
2. Add services_qrcode.xml and QRCodeService.java in framework/common/.
3. Add qrcode request in common-controller.xml and QRCodeEvents.java under framework/common/.
4. Add qrcode.properties and QRCodeUiLabels.xml under framework/common/.
5. Add a barcode example page in specialpurpose/example, entry is on page: /example/control/EditExample?exampleId=EX01, the example can be seen on page: /example/control/ExampleReportPdfBarcode?exampleId=EX01

Briefly, you can visit http://demo-trunk-ofbiz.apache.org/example/control/ExampleReportPdfBarcode?exampleId=EX01 to see a QRCode with OFBiz logo in the center when it's updated.


> Use ZXing to generate QR 2d barcode
> -----------------------------------
>
>                 Key: OFBIZ-4154
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4154
>             Project: OFBiz
>          Issue Type: New Feature
>    Affects Versions: Trunk
>         Environment: OFBiz trunk 1064255 + Sun JDK 1.5.0_14-b03 + Fedora 10
>            Reporter: Shi Yusen
>            Assignee: Shi Jinghai
>            Priority: Trivial
>         Attachments: greetings.png, ofbiz-trunk-zxing.patch, zxing-core-1.6.jar, zxing-javase-1.6.jar
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google search, without any difficulty I found zxing: http://code.google.com/p/zxing/, it's in Apache License.
> I'll submit a sample component of zxing to generate 2d qr barcode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)