I have a Barcode scanner that connects to the device via OTG, how can I get the barcode itself in the application without using any EditText? I tried to use onKeyUp / onKeyDown, but there are only 2 characters, I need to catch it from the very start

  • one
    Learn to formulate - Flippy

1 answer 1

I solved this problem, I need to use the onKeyUp method, but create an invisible editText and focus on it.