Hello,
Some time ago I developed on my application a barcode scanning. I do this intercepting the chars with activity_keypress and when I receive the tab key my application search the barcode.
It works, but I got a problem that my customer reject. The application starts to read the barcode after the first time, because it starts to read the chars after some view lost the focus because of the tab key.
I need to read from the first scan. How can I set the "focus" on the reading on activity_keypress, at the program start? Or how can i simulate the first tab key press to remedy the problem?
Thank you
Some time ago I developed on my application a barcode scanning. I do this intercepting the chars with activity_keypress and when I receive the tab key my application search the barcode.
It works, but I got a problem that my customer reject. The application starts to read the barcode after the first time, because it starts to read the chars after some view lost the focus because of the tab key.
I need to read from the first scan. How can I set the "focus" on the reading on activity_keypress, at the program start? Or how can i simulate the first tab key press to remedy the problem?
Thank you