Skip to main content

Posts

Showing posts from August, 2015

Bar-code Generator - Android Tutorial

This tutorial explains how to generate bar-code or QR-code for the selling product By this application you can generate QR, Code 39, Code 128 and EAN13 How this codes get generated ? Using the library  itextpdf-5.5.6.jar I have created a simple app to demonstrate this tutorial. Below is the screenshot of the app which contains 5 buttons, 2 edit box and 3 radio buttons. Enter in Data field and Description field and select the radio button(where the description want to display) and touch your required code button. Each type of bar code has their validation You will get the bar code output in the form  of PDF as given,          You can test the above codes by reading using the app Barcode Reader available in Google Play Now follow the coding to develop this simple application   1. activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/too