How to use Data from SimulScan

Hi guys,

I have already implemented the SimulScan API to my projekt and I also got an onData(SimulScanData simulScanData) Methode. This methode looks like this:

 

@Override
public void onData(SimulScanData simulScanData) {

        synchronized (simulScanDataList) {

        simulScanDataList.clear();

       }

        synchronized (simulScanDataList) {

        simulScanDataList.add(simulScanData);

       }

 

       String timestamp = simulScanData.getTimestamp();

        daten.setText("Datum: "+timestamp);

}

 

But I dont get any kind of Data when I Scan my Barcodes.

 

So my question is How can I use the Data from the Barcodes. For Example put them in a TextView or something else.

 

Kind regards

Lucas