Java – how to change text when scanning a barcode with zxing in Android?
•
Android
When you start the barcode scanner (zxing) by intention, can you change the prompt text of "put barcode in viewfinder..."?
Intent intent = new Intent("com.google.zxing.client.android.SCAN")
I hope to prompt in my language. What should I do?
resolvent:
Yes, simple and clear:
intent.putExtra("PROMPT_MESSAGE", "Your Text Here");
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码