Dspread Assistant

Welcome! I'm your Dspread documentation assistant. 👋

Choose your product type below to get started, or ask any question directly!

Welcome to the Dspread Documentation! 👋
Android Terminals
Scanner QR/Bar Code

☄️ Scanner QR/Bar Code

Currently we provide the QR/Bar code payment function in the form of a service for customers to use. You can call the following method to start the code scanning service.

Intent intent = new Intent();
ComponentName comp = new ComponentName("com.dspread.components.scan.service", "com.dspread.components.scan.service.ScanActivity");
 
intent.putExtra("amount", "CHARGE ¥1");
intent.setComponent(comp);
launcher.launch(intent);