Android qr code generator

Android QR Code Generator generate, create 2d barcode QR Code images in Android application

Android qr code generator1 Android qr code generator

QR Code Generator for Android to Generate QRCode Barcodes in Android Application using Android Barcode Generator Library

Easy to use Android QR Code generation api
Developed from Java QR Code barcode generator
Compatible with Android 1.5 SDK and later versions
Easily integrate the QR Code SDK into Android apps
Generate high quality QR Code barcode with the Android QR Code SDK
GIF, JPEG, and PNG are supported by the Android QR Code Barcode Generator
Simply encode URLs, contact information, and etc. into Data Matrix
Reliable and mature Android barcode library for QR Code generation
Compatible with the latest QR Code barcode symbology standard
Android QR Code source code is available for the purchase of the Source Code license

Index

Android QR Code Generator Introduction
QR Code Valid Data Scope
How to generate QR Code barcode in Android Java class?
QR Code Barcode Property Settings

Android QR Code Barcode Generator Introduction

Android QR Code barcode API is a QR Code generator for Android apps, designed for creating QR Code barcode on Android platform.

Android QR Code SDK is entirely developed for Android platform
Android QR Code generator is completely built in Android 1.5 SDK
Developer Licenses for this Android QR Code library are royalty-free and perpetual

QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The “QR” is derived from “Quick Response”, as the creator intended the code to allow its contents to be decoded at high speed.

OnBarcode provides several QR Code Generator components and software, including QR Code C#, QR Code .NET, QR Code Java, QR Code VB.NET, QR Code ASP.NET, QR Code iPhone, QR Code iPad, QR Code Generator.

Android QR Code Generator Valid Data Scope

Android QRCode Generator supports:

numeric data (digits 0 – 9);
alphanumeric data (digits 0 – 9; upper case letters A -Z; nine other characters: space, $ % * + – . / : );
byte data (default: ISO/IEC 8859-1);
Kanji characters.

How to generate QR Code barcodes in your Android application?

Generating barcode QRCode in Java Class example

QRCode barcode = new QRCode();

/*
QRCode Valid data char set:
numeric data (digits 0 – 9);
alphanumeric data (digits 0 – 9; upper case letters A -Z; nine other characters: space, $ % * + – . / : );
byte data (default: ISO/IEC 8859-1);
Kanji characters
*/
barcode.setData(“http://www.onbarcode.com”);
barcode.setDataMode(QRCode.M_AUTO);
barcode.setVersion(10);
barcode.setEcl(QRCode.ECL_M);

// if you want to encode GS1 compatible QR Code, you need set FNC1 mode to IBarcode.FNC1_ENABLE
barcode.setFnc1Mode(IBarcode.FNC1_NONE);

// Set the processTilde property to true, if you want use the tilde character “~” to
// specify special characters in the input data. Default is false.
// 1-byte character: ~ddd (character value from 0 ~ 255)
// ASCII (with EXT): from ~000 to ~255
// 2-byte character: ~6ddddd (character value from 0 ~ 65535)
// Unicode: from ~600000 to ~665535
// ECI: from ~7000000 to ~7999999
// SJIS: from ~9ddddd (Shift JIS 0×8140 ~ 0x9FFC and 0xE040 ~ 0xEBBF)
barcode.setProcessTilde(false);

// unit of measure for X, Y, LeftMargin, RightMargin, TopMargin, BottomMargin
barcode.setUom(IBarcode.UOM_PIXEL);
// barcode module width in pixel
barcode.setX(3f);

barcode.setLeftMargin(15f);
barcode.setRightMargin(15f);
barcode.setTopMargin(15f);
barcode.setBottomMargin(15f);
// barcode image resolution in dpi
barcode.setResolution(72);

// barcode bar color and background color in Android device
barcode.setForeColor(AndroidColor.black);
barcode.setBackColor(AndroidColor.white);

/*
specify your barcode drawing area
*/
RectF bounds = new RectF(30, 30, 0, 0);
barcode.drawBarcode(canvas, bounds);

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)