K
K
Kirill 12020-12-13 12:53:28
Java
Kirill 1, 2020-12-13 12:53:28

How to prescribe EMDK?

There is a qml project for zebra TSD scanners, the application is working, the barcode scanning function is added to it, but on android this is done through java and the barcode transfer must go through java. But don't go out.

It is necessary that the source code or the compiled library of the example BarcodeSample1 be compiled in Qt, and its activity (such a term in Java, such as a subprocess constantly hanging in memory) is launched from Qt.

Run activities from Qt are launched, there is a working example.

The problem is that when I unpack the library compiled in AndroidStudio (aar format) and include its files in Qt, there are no java files themselves, they are packed into an archive inside this library.

You can unpack the archive, but at the same time, what paths to these modules should be indicated, because the library thinks that they are packed.

If I just copy the source files of the example in Qt and include them in the project, everything else compiles fine, but it does not find the installed zebroid EMDK.

I would write EMDK, but I can't even find it properly, it is installed in C:\Users\..., not in an arbitrary directory, and I can't find how to write it in order for Qt to see it.
(AndroidStudio sees and uses it, but its settings window is three empty menu items).

And since Since all the examples on the EMDK and related ones are made for older versions of AndroidStudio, then half of the settings indicated in the tutorials are not there at all.

How to register EMDK in a java project so that it is not compiled from AndroidStudio?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nApoBo3, 2020-12-14
@nApoBo3

As far as I remember zebra on android can scan via intent. Configured in datawedge.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question