Member-only story
Open Camera In `SUNMI POS` Device.
In this article we will see how to open camera for scanning the QR code in sunmi devices.
What is SUNMI POS Device ?
POS is `Point of sale`, is both hardware & software device which enables merchant payment and transactions.
Have you ever seen in McDonald’s? when we go to the counter to place any order , first they add items in the machine and once you done the payment , receipt is printed. This is all done through a POS device.
POS devices used in many industries like Shopping Malls , Parkings , Cafes , Shops etc.
POS is a simple android device , if you want to make any application for that , you can make in Kotlin, Flutter & React Native.
I think we understood about the POS devices. Let’s move into the actual topic.
val intent = Intent("com.summi.scan")
intent.setPackage("com.sunmi.sunmiqrcodescanner")
If we want to open the sunmi camera , we will fire the intent with action
and package name
. Above is the default action and package name of sunmi devices.
val launcher =…