skip to main | skip to sidebar

Java Programs and Examples with Output

Pages

▼
 
  • RSS
  • Twitter
Friday, September 21, 2012

QR code generator

Posted by Admin at 1:18 PM – 0 comments
 
It is just a simplified version of ZXing API
GenerateQR.generateQR(String, new File(Path.extension),int width,int height);
e.g.
GenerateQR.generateQR(myString, new File("abc.png"), width, height);


import java.io.File;

import pkg.GenerateQR;

public class SimpleQR {

 /**
  * @param args
  */
 public static void main(String[] args) {
  
  GenerateQR.generateQR("My QR code", new File("C:/a.png"), 100, 100);
 }

}





Leave a Reply

Newer Post Older Post
Subscribe to: Post Comments ( Atom )
  • Popular
  • Recent
  • Archives
Powered by Blogger.
 
 
 
© 2011 Java Programs and Examples with Output | Designs by Web2feel & Fab Themes

Bloggerized by DheTemplate.com - Main Blogger