I cannot get it to work when a Bluetooth HID mode device is connected, like a Bluetooth barcode scanner which simulates a Bluetooth keyboard. When a Bluetooth device connects in HID mode, the virtual keyboard is automatically hidden by the OS.
I have two entry fields, one for the barcode (bEntry) and one for some mandatory text, that should be entered (tEntry). I need the keyboard to show on the tEntry text field.
<Entry x:Name="tEntry" effects:KeyboardEffect.EnableKeyboard="True" Focused="tEntry_Focused">
<Entry.Effects>
<effects:KeyboardEnableEffect/>
</Entry.Effects>
</Entry>
I added the Focused="tEntry_Focused" event handler, and in there do SoftKeyboard.Current.InvokeVisibilityChanged(true); but it does nothing. The keyboard remains hidden.
Is there a way to force the virtual keyboard to show, regardless of a Bluetooth-connected keyboard(simulator)?
Update: works on Android, not on iOS. On iOS, I found out that I should use the scanner-buttons to toggle the virtual keyboard.
Thanks,
Marc
I cannot get it to work when a Bluetooth HID mode device is connected, like a Bluetooth barcode scanner which simulates a Bluetooth keyboard. When a Bluetooth device connects in HID mode, the virtual keyboard is automatically hidden by the OS.
I have two entry fields, one for the barcode (bEntry) and one for some mandatory text, that should be entered (tEntry). I need the keyboard to show on the tEntry text field.
I added the
Focused="tEntry_Focused"event handler, and in there doSoftKeyboard.Current.InvokeVisibilityChanged(true);but it does nothing. The keyboard remains hidden.Is there a way to force the virtual keyboard to show, regardless of a Bluetooth-connected keyboard(simulator)?
Update: works on Android, not on iOS. On iOS, I found out that I should use the scanner-buttons to toggle the virtual keyboard.
Thanks,
Marc