Member-only story

Open Camera In `SUNMI POS` Device.

Jayant Kumar🇮🇳
2 min readSep 13, 2024

--

Photo by Chris Lawton on Unsplash

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.

SUNMI POS MACHINE

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 =…

--

--

Jayant Kumar🇮🇳
Jayant Kumar🇮🇳

Written by Jayant Kumar🇮🇳

Hello My name is Jayant Kumar, I am a software Engineer , specialist in Mobile Development (Android , IOS , Flutter , React Native and Ionic) from India 🇮🇳

No responses yet