E
E
Evgeny Nikolaev2021-09-16 15:25:22
Java
Evgeny Nikolaev, 2021-09-16 15:25:22

How to API access the Atol Smart Slimp Plus scanner hardware from Android Studio (in Java or Kotlin)?

There is an Atol Smart Slimp Plus barcode scanner as in the photo below

atol-smart-slim-plus.jpg

. In the same photo, a demo program that reads barcodes is running. By default, this is the only program that the scanner works with. Other programs that are already integrated with 1c and with which you can already work somehow are paid.

We are considering writing our own application for Android in which we could implement the functionality we need, the whole question is how to access the scanner equipment in Android Studio, that is, activate it and get data from it into a variable or into a buffer. Can you provide an example code for working with the Scanner API?

If someone is well versed in Android and is not familiar with the scanner hardware, he is ready to try to figure it out, the option of a paid search for a solution is being considered, that is, the option is being considered to provide you with any options for remote access to the PC to which the scanner is connected. Offer a price. (PS development of the interface of the future program is currently not required, although there may be various options for such cooperation in the future, that is, now you need to understand how to access the scanner equipment from your Android applications).

A letter was written to Athol with a request to provide information on accessing the scanner equipment from the application. There is no answer yet. I did not find any information about this on the Internet, only a bunch of sites with offers to buy a scanner.

Added more photos of the device:
atol-2.jpg
atol-3.jpg
atol-4.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
davidnum95, 2021-09-20
@davidnum95

I did a similar story for the Honewell scanner, in the general case, an event is thrown there that can be caught by BroadcastReciever
's AndroidManifest.xml

<receiver
            android:name=".SimpleReceiver"
            android:enabled="true"
            android:exported="true"
            android:permission="com.google.android.c2dm.permission.SEND">
            <intent-filter>
                <action android:name="com.honeywell.sample.action.BARCODE_DATA" />
            </intent-filter>
</receiver>

SimpleReceiver.java
public class SimpleReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent receivedIntent) {
        String aimId = receivedIntent.getStringExtra("aimId");
        String charset = receivedIntent.getStringExtra("charset");
        String codeId = receivedIntent.getStringExtra("codeId");
        String barcode = receivedIntent.getStringExtra("data");
        byte[] dataBytes = receivedIntent.getByteArrayExtra("dataBytes");
        String timestamp = receivedIntent.getStringExtra("timestamp");
        int version = receivedIntent.getIntExtra("version", 1);

        Log.d("BARCODE HANDLER: ", "Barcode handled: " + barcode);
    }
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question