How to use Data from SimulScan

L Lucas Smith 3 years 5 months ago
0 1 0

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:
 
@Overridepublic 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

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

Hello Lucas, Could you provide the code for the full Activity or an example of Activity that exhibits this issue.  How does your Activity differ from our SimulScan API Sample?

CONTACT
Can’t find what you’re looking for?