Dspread Assistant

How can I help you with Dspread documentation today?

Welcome to the Dspread Documentation! 👋
Android Terminals
Set Up Integration

Set Up Integration

Development Environment

⚠️

Good to know: For development convenience, our terminals come in debug mode by default, with:

  • ADB enabled: ADB commands help developers install or debug apps, which is not secure for payment terminals. We disable ADB on release version devices for security, and apps can only be installed by OTA with TMS.
  • Debug watermark: This helps avoid developer misuse of development samples and production devices. The debug watermark will be removed on release production devices.
  • Keystore: The purpose of the keystore file is to prevent unknown apps from being installed on the device and breaking device security. You need to use the Dspread keystore file to sign your app to be able to install it on a debug device. For production devices, we will use your own keystore signature extracted from your signed APK, so that only you have permission to install apps on your device (app.keystore (opens in a new tab)).

Smart POS SDK

ModuleDownloadDescription
Paymentdspread_pos_sdk.jar (opens in a new tab)Handles card reading and pinpad functionalities
Printerdspread_print_sdk.aar (opens in a new tab)Prints receipts
Scanner-Refer to scanner intent service

Add the following code to your project's build.gradle file:

plugins {
  id("com.android.application")
}

android { ... }

dependencies {
  implementation 'com.dspread.print:dspread_print_sdk:1.3.9-beta'
  implementation 'com.dspread.library:dspread_pos_sdk:7.0.7'
}

Sample Code and Demo

Demo App UI Preview

Payment Screen

Payment

Print Screen

Print

Scanner Screen

Scanner