Header Ads

How to create a QR Code ?

QR code as we know is nowadays very popular. All the products have a seperate QR Code in which information related to it is stored confidentially. These information can be accessed through a QR Code scanner.



Today i will tell you how to create a QR Code and store any sort of information in it. It is for educational purpose. So here is ProTecher to give you another tutorial.

PRE-REQUIREMENTS

=> A computer with JAVA development kit installed in it.

If  you do not have Java kit installed , install it from below.

CLICK HERE TO DOWNLOAD



=> Some basic computer knowledge

PROCEDURE

=> Open My Computer and Go to Local Disk C

=> Create a Folder named Check1 and save it

=> Open Notepad

=> Copy the below given code and post on your Notepad

import mgwebsoft.*;
class MyClass
{
    public static void main(stringar[])
   {
    Generate_QRCode.create_QRCODE("Information you want to store","C:\\Check1\\,"png","dummy",300,300);
   }
}

=> Save it as MyClass.java on Desktop

=> Open Command Prompt

=> Type "cd Desktop" ( remove double quotes ) and press enter

=> Type "javac MyClass.java" ( remove double quotes ) and press enter



=> This will compile your QR Code file.

=> Now navigate to

C Drive << Check1 << Dummy

=> You will see a new image named dummy, this is your QR Code

=> Now scan it with any Scanner application from your Smartphone and you will be able to see the information stored in it.




No comments

Powered by Blogger.