Skip to content

Android library for build QrCodes with inside images.

Notifications You must be signed in to change notification settings

felipegr6/CustomQrCode

Repository files navigation

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();

About

Android library for build QrCodes with inside images.

Resources

Stars

Watchers

Forks

Packages

No packages published