Is it possible to change the prompt text that says "place the barcode inside the viewfinder..." when launching the Barcode scanner (zxing) via intent ?
Intent intent = new Intent("com.google.zxing.client.android.SCAN")
I want to have a prompt in my language, how should I do that?
Yes, plain and simple:
intent.putExtra("PROMPT_MESSAGE", "Your Text Here");
If it's worth to anyone, here's how you do it with IntentIntegrator if you decided to import ZXings libraries to Android Studio:
integrator.addExtra("PROMPT_MESSAGE", "Your message here");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With