Introduction

This documentation explains the way of development uses USDK, Kotlin language and ISO8583 message. USDK is SDK for communicating and using services with APOS A8 devices ​such as EMV (Contact, Contactless, and Swipe)

Quick Start

Prerequisites

  • Android Studio
  • Git Repository
  • If you use SSH. Please generate public key and add to account

On the first time clone a project to pc or laptop.

To use it, open up your terminal in the desired directory and run the following command:

# Change directory to you path
cd /path/to/directory

#Using SSH or
git clone git@github.com:bosssupavit/edc-aposa8.git

#Using HTTPS
git clone https://github.com/bosssupavit/edc-aposa8.git
1
2
3
4
5
6
7
8

Project Structure

This project uses Kotlin language and Jetpack Compose for the development UI framework and The project structure below shows folders and files examples same file on the repository project on the cloud.

└─ th.emerchant.terminal.edc_pos
   ├─ component
   ├─ data
   └─ dataclass
   └─ model
   └─ screen
   └─ ui.theme
   └─ utils
   └─ DeviceHelper.java
   └─ FunctionISO8583.kt
   └─ FunctionRealmDB.kt
   └─ MainActivity.kt
   └─ RealmConfiigurations.kt
   └─ RealmMigrations.kt
   └─ RealmUpdate.kt
   └─ Route.kt
   └─ TransactionProcess.kt 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

Dependencies

dependencies {
   //Navigation
   implementation "androidx.navigation:navigation-compose:2.4.0-rc01"
   //JSON Object
   implementation "com.google.code.gson:gson:2.8.8"
   // Navigation with animation
   implementation "com.google.accompanist:accompanist-navigation-animation:0.21.2-beta"
   //Lottie Animation
   implementation "com.airbnb.android:lottie-compose:4.2.0"
   //Material Icons
   implementation "androidx.compose.material:material-icons-extended:$compose_version"
}
1
2
3
4
5
6
7
8
9
10
11
12
Last Updated:
Contributors: Supavit Panyafang