Android Java project — Receipt Generator using Android phone and Bluetooth thermal printer — Part 1 of 7 , Introduction to project

This project is using Android Java to build a bluetooth thermal printer receipt generator. Below are pics of the project.

This project will be broken down to 7 parts as I want to provide all the steps clearly.

Receipt generated with bluetooth thermal printer, top without discount and bottom with.
Receipt generated on a A4 paper using wifi office desktop printer. Here the width only occupied 1/3 of the page.
The width can be adjusted to fit the whole A4 page.
The main page, or in Android development terms, the MainActivity. The red lines or words are for user input or for user to click.


Ok, let’s start, below are the steps of this project:

  1. Part 1 of 7 — Introduction and description of project.
  2. Part 2 of 7 — Building the main page of the app, called the MainActivity activity.
  3. Part 3 of 7 — Build the RecyclerView, which is a big part of MainActivity, ghe scrollable list which contain the items.
  4. Part 4 of 7 — Build the rest of the actions and behaviour of the MainActivity
  5. Part 5 of 7 — Build the ReadyToPrint activity.
  6. Part 6 of 7 — Link to bluetooth thermal printer.
  7. Part 7 of 7 — Link to wifi office printer (optional)

Below is the flow diagram for this Android receipt generator with bluetooth thermal printer project.