Dear Timofey,
Unfortunately i tried what you suggest and still it doesnt work.
When you open a form, even when there is only one control in the form (The textfield), even when the defaultItem property is true for that control in the mobile platform the user needs to manually touch on the text field to put it under focus so that typing can start.
Further more i even tried the command inputString() where again the popup appears to type the string but again the user still needs to touch the textfield to type.
We thought of a workaround of using an external native android app and call it from the 1c mobile platform using the function MobileDeviceApplicationRun(). The plan is to run the external app, scan the barcode there and return back to 1c mobile do some processing and run the external app again. The problem is that we cannot find any documentation or example of how we need to create the native android app in order to be abled to be called from 1c and return back with the scanned barcode. From what i read in the documentation it is possible using the following parameter:
Type: MobileDeviceApplicationLaunchExtrasData.
Additional data to be transferred to the application and to return the result.
Can you provide us with a working example of this feature?