Source Code Android-based Cashier Application - Cashier Application that on this occasion we made it into an android application as Client Rest API and Web Service as a Rest API Server. Here we use java language by using android studio as an Integrated Development Environment.
As we know that Rest (Representational State Transfer) is a web-based communication architecture standard that we implement in creating web services for this cashier application service. And of course using HTTP (Hypertext Transfer Protocol) as a protocol for data communication.
The source code of our Web Service API is made using the Codeigniter Framework version 3.1.9 which of course uses the PHP programming language and also uses MySQLi as its management database. To help us make it easier to create a server fire rest, we use the chriskacerguis / codeigniter-restserver library.
The Library Restful server that we use is quite complete and easy to use. The data format that we use is JSON, although in this library it supports other common formats in data communication on the fire rest such as XML, HTML, CSV, ARRAY, Serialized and so on. And supports several Cross Origin Resource Sharing such as GET, POST, OPTIONS, PUT, PATCH, and DELETE.
While the Rest API Client source code is our android-based cashier application for using the Java programming language using Android Studio. To make it easier to create an Android client API rest, as usual we use the Volley networking library. Besides that we use several other dependencies.
Some dependencies in making the Android Studio based cash register application source code:
- Animated Vector Drawable 28.0.0
- Exif Interface 28.0.0
- Design 28.0.0
- Volley 1.1.0
- CardView-v7 28.0.0
- CircleImageView 2.2.0
- Picasso 2.71828
- Glide 4.6.1
- RecyclerView-v7 28.0.0
- Elegant Number Button 1.0.2
- Okhttp3 3.12.0
Spesifikasi source code Rest API Client aplikasi kasir berbasis android studio :
- IDE : Android Studio 3.2.1
- compileSdkVersion : 28
- minSdkVersion : 21
Specifications of the application source code for Rest API Server with the CodeIgniter Framework (Web Service):
- PHP Version: All PHP version which supports MySQLi
- DBMS: MySQL
- And for the Bluetooth Printer Device specifications:
- Zjiang Mini Portable Bluetooth Thermal Receipt 5807
- 58 mm paper width
Source code features of Android-based point of sale (cashier) applications:
- Management Users
- Product Category Management
- Product Management
- Point of Sale
- Transaction History
- Print to Bluetooth Printer Device
And the following is the display of the Android-based cash register application code (Rest API)