Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get it to work with Bluetooth HID mode devices #36

Open
MrMacvos opened this issue Mar 14, 2022 · 0 comments
Open

Cannot get it to work with Bluetooth HID mode devices #36

MrMacvos opened this issue Mar 14, 2022 · 0 comments

Comments

@MrMacvos
Copy link

MrMacvos commented Mar 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant