Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 961 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 961 Bytes

Android library for build QrCodes with inside images.

Device Print with CustomQrCode

Usage Maven Repo

I've uploaded the .aar in my maven repository. You only need to add following lines to your build.gradle to add the dependency:

dependencies {
    compile 'br.fgr.customqrcode:customqrcode:1.0'
}

How To Use

CustomQrCode.Builder builder = CustomQrCode.Builder(Context context, ImageView imgQrCode, String text);

// Optional
builder.setSize(int size).setResource(int drawable).setProgress(View progress);

builder.build().execute();

Example

CustomQrCode.Builder builder = CustomQrCode.Builder(this, imgQrCode, "Hello World");
builder.setSize(512).setResource(R.drawable.smiley).setProgress(progress);

builder.build().execute();