In this Post, I introduce my new Gradle Library. This Library is used to Generate QR Code Automatically for our specified input.
How to Import the Library:
Gradle:
After importing this library, use the following lines to use this library. The following lines are used to generated the QR Code
Github Link:
Open Github
Leave Comment about this Library.
How to Import the Library:
Gradle:
compile 'androidmads.library.qrgenearator:QRGenearator:1.0.0'
Permission:<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
How to use this Library:After importing this library, use the following lines to use this library. The following lines are used to generated the QR Code
// Initializing the QR Encoder with your value to be encoded, type you required and Dimension
QRGEncoder qrgEncoder = new QRGEncoder(inputValue, null, QRGContents.Type.TEXT, smallerDimension);
try {
// Getting QR-Code as Bitmap
bitmap = qrgEncoder.encodeAsBitmap();
// Setting Bitmap to ImageView
qrImage.setImageBitmap(bitmap);
} catch (WriterException e) {
Log.v(TAG, e.toString());
}
Save QR Code as Image // Save with location, value, bitmap returned and type of Image(JPG/PNG).
QRGSaver.save(savePath, edtValue.getText().toString().trim(), bitmap, QRGContents.ImageType.IMAGE_JPEG);
For more Details Visit HereGithub Link:
Open Github
Leave Comment about this Library.
Please share more like that.
ReplyDeletesteam gift card generator
Useful information for learning Android Course.
ReplyDeleteWith regards to item creation many hopeful web advertisers battle to think of thoughts. Generally it boils down to a few things: 1) They have no understanding and in this manner aren't happy with making a "how to" item or 2) they come up short on certain particular aptitudes like duplicate composition or programming. In the event that that is you (or was you) at that point you can relate. QR Code Creator
ReplyDeleteyurtdışı kargo
ReplyDeleteresimli magnet
instagram takipçi satın al
yurtdışı kargo
sms onay
dijital kartvizit
dijital kartvizit
https://nobetci-eczane.org/
60ZS1