How to Gererate QR Code Using Google API

QR code and Bar codes are most famous ways to encrypt sensitive information. We all know about bar code, so lets talk about QR code. QR code is Quick Responce code which is two dementional code. Its like a matrix specifically designed to read by smatrphones. The code is arranged as black square boxes of various size over the white backgroud. There are several apps that are designed for reading these codes. Google API help us to create these QR code. So without a further due lets see how to ggenerate it.

Google uses its infographic server to generate this code. so just head over to https://chart.googleapis.com/chart? . In addition to this we need to passs certain Get parameters so as to retrive the QR code. These parameters are :

1) chs :- This parameter defines the size of the image in pixel. The format is <width>x<hiehght>

2) cht :-  This parameter defines type of image to be returned. this should be set to qr.

3) chl :- This parameter defines data to be encoded.

so the final string should look like this:-

https://chart.googleapis.com/chart?cht=qr&chs=50x50&chl=hello

once you click on go it will create a QR code for you. you can use QR code scanner to check the data encoded in QR code. 

Screenshot : 

                                   


Also See : 

1 -  

2 - Find Your Lost Android Phone Using Goggle