DixieFlatline DixieFlatline - 1 year ago 90
Android Question

How to change text when scanning barcodes with Zxing via intent in Android?

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?

Answer Source

Yes, plain and simple:

intent.putExtra("PROMPT_MESSAGE", "Your Text Here");

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download