Java – how to change text when scanning a barcode with zxing in 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
分享
二维码
< <上一篇
下一篇>>