Android Code 93 Generator generate, create barcode Code 93 images in Android application

Code 93 Generator for Android to Generate Code-93 Barcodes in Android Application using Android Barcode Generator Library

  • Easy to use Android Code 93 generation api
  • Developed from Java Code 93 barcode generator
  • Compatible with Android 1.5 SDK and later versions
  • Easy to add the Code 93 SDK into Android apps
  • Generate high quality Code 93 barcode with the Android Code 93 SDK
  • GIF, JPEG, and PNG are supported by the Android Code 93 Barcode Generator
  • Reliable and mature Android barcode library for Code 93 generation
  • Compatible with the latest Code 93 barcode symbology standard
  • Android Code 93 source code is available for the purchase of the Source Code license


Index
 

Android Code 93 Barcode Generator Introduction

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

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

.net barcode sdk free, barcode generator vb.net free, java barcode, c# .net barcode generator free, generate code 128 excel, c# create pdf417

Code-93 is a barcode symbology designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is used primarily by Canada Post to encode supplementary delivery information. Every symbol includes two check characters.

OnBarcode provides several Code 93 Generator components and software, including Code 93 for .NET, Code 93 for C#, Code 93 for Java, Code 93 for VB.NET, Code 93 for ASP.NET, Code 93 Generator.

 

Code 93 Valid Data Scope

Android Barcode Code 93 supports:

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • uppercase letters (A through Z)
  • - (Dash), . (Point), $ (Dollar), / (Slash), + (Plus), % (Percentage), (Space)

 

How to generate Code 93 barcodes in your Android application?

Generating barcode Code 93 in Java Class example

	Code93 barcode = new Code93();
	
	/*
	   Code 93 Valid data char set:
	        0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (Digits)
	        A - Z (Uppercase letters)
	        - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)
	*/
	barcode.setData("CODE93DATA");
	
	// Unit of Measure, pixel, cm, or inch
	barcode.setUom(IBarcode.UOM_PIXEL);
	// barcode bar module width (X) in pixel
	barcode.setX(1f);
	// barcode bar module height (Y) in pixel
	barcode.setY(75f);
	
	// barcode image margins
	barcode.setLeftMargin(10f);
	barcode.setRightMargin(10f);
	barcode.setTopMargin(10f);
	barcode.setBottomMargin(10f);
	
	// barcode image resolution in dpi
	barcode.setResolution(72);
	
	// disply barcode encoding data below the barcode
	barcode.setShowText(true);
	// barcode encoding data font style
	barcode.setTextFont(new AndroidFont("Arial", Typeface.NORMAL, 12));
	// space between barcode and barcode encoding data
	barcode.setTextMargin(6);
	barcode.setTextColor(AndroidColor.black);
	
	// 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);
 

Android Code 93 Barcode Properties

Barcode Java Class: com.onbarcode.barcode.android.Code93.

Category Properties Value Comments
Basic Property: data Type: String
Default: ""
Barcode value to encode

Code 93 Valid Data Char Set:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (Digits)
  • A - Z (Uppercase letters)
  • - (Dash), $ (Dollar), % (Percentage), (Space), . (Point), / (Slash), + (Plus)

Property: addCheckSum Type: boolean
Default: false
addCheckSum property is not applied here. Check character "C" and "K" will always be applied.
 
Barcode
Size
Related
Property: autoResize Type: boolean
Default: false
Auto resize the generated barcode image
Property: barAlignment Type: int
Default: 1 (center)
Barcode horizontal alignment inside the image. 0: left, 1: center, 2: right.
Property: uom Type: int
Default: 0 (pixel)
Unit of meature for all size related settings in the library.
Valid values: 0: pixel; 1: inch; 2: cm.
Property: X Type: float
Default: 1
Width of barcode bar module (narrow bar), default is 1 pixel
Property: Y Type: float
Default: 30
Height of barcode bar module, default is 30 pixel
Property: barcodeWidth Type: float
Default: 0
Barcode image width.

If barcodeWidth setting is smaller than the barcode required minimum width, the library will automatically reset to barcode minimum width.
Property: barcodeHeight Type: float
Default: 0
Barcode image height.

If barcodeHeight setting is smaller than the barcode required minimum height, the library will automatically reset to barcode minimum height.
Property: leftMargin Type: float
Default: 0
Barcode image left margin size.
Property: rightMargin Type: float
Default: 0
Barcode image right margin size.
Property: topMargin Type: float
Default: 0
Barcode image top margin size.
Property: bottomMargin Type: float
Default: 0
Barcode image bottom margin size.
Property: resolution Type: int
Default: 72
Barcode image resolution in DPI (Dots per inch).
Property: rotate Type: int
Default: 0 (IBarcode.ROTATE_0)
Valid values:

  • 0 (IBarcode.ROTATE_0)
  • 1 (IBarcode.ROTATE_90)
  • 2 (IBarcode.ROTATE_180)
  • 3 (IBarcode.ROTATE_270)
 
Barcode
Colors
Property: backColor Type: AndroidColor
Default: AndroidColor.white
Barcode image background color
Property: foreColor Type: AndroidColor
Default: AndroidColor.black
Barcode image foreground color
 
Font
Style
Property: showText Type: boolean
Default: true
If true, display barcode data text under the barcode, otherwise do not display.
Property: textFont Type: AndroidFont
Default:
new AndroidFont("Arial", Typeface.NORMAL, 11)
Barcode text font style.
Property: textMargin Type: float
Default: 6
Space between barcode and barcode data text, default is 6 pixel
Property: textColor Type: AndroidColor
Default: AndroidColor.black
Barcode text color









OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.