Category : barcode

import android.Manifest; import android.annotation.SuppressLint; import android.content.Intent; import android.os.Bundle; import android.view.View; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import com.google.zxing.Result; import com.karumi.dexter.Dexter; import com.karumi.dexter.PermissionToken; import com.karumi.dexter.listener.PermissionDeniedResponse; import com.karumi.dexter.listener.PermissionGrantedResponse; import com.karumi.dexter.listener.PermissionRequest; import com.karumi.dexter.listener.single.PermissionListener; import me.dm7.barcodescanner.zxing.ZXingScannerView; public class qrScanner extends AppCompatActivity implements ZXingScannerView.ResultHandler { ZXingScannerView scannerView; DatabaseReference dbref; private Object view; @Override protected ..

Read more

Printer model tdm-20. I need to print bmp file, my code is: `macAddress = mBTDevices[position].address TscDll.openport(macAddress) TscDll.setup(100, 60, 1, 15, 0, 3, 0) TscDll.clearbuffer() TscDll.downloadbmp("test.bmp") TscDll.printlabel(1, 1) TscDll.closeport(5000)` and its not worked. Printer print a clear staff. I use galaxy note 9 with Android 10. If i send text its works fine. Source: Android..

Read more

I’m trying to replace the ZXing integration in my Android app with the Google ML Kit barcode scanner but I’m having a dependency issue I don’t understand. I’ve added this to my Gradle dependencies: implementation ‘com.google.mlkit:barcode-scanning:16.1.1’ but I have no idea how to resolve the following manifest merge error: Error: Attribute [email protected] value=(android.support.v4.app.CoreComponentFactory) from AndroidManifest.xml:22:18-91 ..

Read more

I’m developing an Android application with Embarcadero RAD Studio 10.2 to deploy on a Zebra TC25. I’m trying to activate the scanner by clicking a button on a screen. (Like pressing the yellow buttons on the sides of the pad) procedure TMainForm.btnScanClick(Sender: TObject); var Intent: JIntent; //Declares the intent object begin try Intent := TJIntent.Create; ..

Read more