Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: how to create qrcoder with java language

how to create qrcoder with java language 4 years 4 months ago #3900

please download the SDK from aipsys and then including the package with your project. the samples code hre:

package com.aipsys.barcode.qrcode.encoder;

public class QRCodeDemo
{
public QRCodeDemo()
{
}
public static void main(String[] args) throws Exception
{
try
{
ImageEncoder iee = new ImageEncoder();
iee.setAutoConfigurate(true);
iee.setEncodedString("www.aipsys.com");
iee.setEncoding(ImageEncoder.ENC_AUTO);
iee.setErrorCorrectionLevel(ImageEncoder.CORRECTION_LEVEL_H);
iee.setMargin(30);
iee.Encode2JPEGFile("c:\\qrcode1.jpg");
return;
}
catch (RuntimeException e)
{
System.out.println(e.getMessage());
}
}

}
The administrator has disabled public write access.

  • Posts:59
  • developer's Avatar
  • developer
  • Moderator
  • OFFLINE
  • Karma: 1
  • Page:
  • 1
Time to create page: 0.181 seconds
Powered by Kunena Forum :: Wibi