Skip to content

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

@MrMacvos

Description

@MrMacvos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions