Hello Everyone,
I am using MC3000 Zebra barcode scnanner . This device runs on Android OS. I wrote an application using Xamarin Form (SCL) and deployed in this device.
I am facing some issues regarding capturing device keyboard event inside application.
As example, say, I am in some page abc.xaml. I have a submit button in this page. Anytime I press enter in the device keyboard , I should trigger submit button.
Now , when I am pressing enter from keyboard , my focus can be in some Entry or page itself (e.g. come to page and did nothing). I dont want to use completed event on entry to capture enter key press. Because user might not need to enter anything. Workflow does not always require user to type anything.
I saw most of the suggetions are related to using completed event with Entry but this will not work if the user just want to submit the page data .
Now, I have tried one bad way (I think) that to put focus on submit button . Unfortunately it is not consistent solution .
Any suggestion?
Appreciate it.