Cüneyt Gargin Member Licensed User Longtime User Aug 12, 2014 #1 I have a motorola device with barcode scanner.. I have an editbox to scan barcodes.. it scans and sends enter automatically... I insert barcode into a database table... Later on I clean editText with anEditText.Text ="" I call anEditText.RequestFocus (which is very important because user will scan hunderds of barcodes immediately and i cannot tell the user to click editbox to gain focus...) and it does not gain Focus... Please tell me a method to overcome this and please don't tell me you do not guarantee editText to gain focus(i.e. i read articles here)
I have a motorola device with barcode scanner.. I have an editbox to scan barcodes.. it scans and sends enter automatically... I insert barcode into a database table... Later on I clean editText with anEditText.Text ="" I call anEditText.RequestFocus (which is very important because user will scan hunderds of barcodes immediately and i cannot tell the user to click editbox to gain focus...) and it does not gain Focus... Please tell me a method to overcome this and please don't tell me you do not guarantee editText to gain focus(i.e. i read articles here)
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2015 #21 Please start a new thread for this question. Upvote 0
K keirS Well-Known Member Licensed User Longtime User Aug 6, 2015 #22 Cüneyt Gargin said: I Tried This Method. I adjusted device settings. But I could not write a service and call it.. Lets assume my packagename is scantest and SCAN is the method. Can you please send me a sample code .. B.Regards... Click to expand... I am on holiday at the moment and won't be able to dig out the code I have for a couple of weeks. Have your read the user guide for Datawedge as this where I worked out how to do it. I don't have a TC55 to try any code on as mine was on loan from the client I wrote the app for. Upvote 0
Cüneyt Gargin said: I Tried This Method. I adjusted device settings. But I could not write a service and call it.. Lets assume my packagename is scantest and SCAN is the method. Can you please send me a sample code .. B.Regards... Click to expand... I am on holiday at the moment and won't be able to dig out the code I have for a couple of weeks. Have your read the user guide for Datawedge as this where I worked out how to do it. I don't have a TC55 to try any code on as mine was on loan from the client I wrote the app for.