Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default keyboard is not coming when Barcode Scanner Device is Connected by Bluetooth in IOS

I am facing issue with keyboard when barcode scanner device is connected using bluetooth.

Flow:

1) I have turned on Bluetooth, and connected barcode scanner device using bluetooth by entering displayed code in it to connect.

2) I am able to use scanner, but the default keyboard is not displaying even we call becomeFirstResponder.

3) When I disconnect the scanner device or turn off bluetooth connectivity then the keyboard is coming.

Note: Below is the link for the Barcode Scanner device i am using

Barcode Scanner Device Information

Anyone faced this kind of issue? Please suggest how to fix this issue.

Thanks in Advance..!

like image 642
Vidhyanand Avatar asked Jul 18 '16 13:07

Vidhyanand


People also ask

Can I use my Iphone as a Bluetooth barcode scanner?

Using Bluetooth Technology to Pair Barcode Scanners with Mobile Devices. Bluetooth barcode scanners rely on the powerful and fast wireless Bluetooth technology. Bluetooth is a feature on all iPhones and Android mobile phones and devices and many computers and laptops.

How do I force my iPad keyboard?

Go to Settings > Accessibility > Keyboards, tap Full Keyboard Access, then turn on Full Keyboard Access.


2 Answers

This solution only works on Ipad. when the soft keyboard disappears just press and hold the down arrow on the bottom right of the screen and the soft keyboard will be back.

like image 160
Shez ratnani Avatar answered Oct 19 '22 17:10

Shez ratnani


We are clear and there is no question that Bluetooth Scanner is pretending to be a Bluetooth keyboard, so iOS thinks that it does not need to show the on screen one.

For Barcode Scanner type socket mobile are now adding a feature to open the iPad onscreen keyboard. For example, the Socket CHS has a new button press option. You can check if your device have the same functionality*(It is likely to be of some help)*

Bring Up the Virtual Keyboard With a Real Keyboard can be a good idea.

When you have a Bluetooth keyboard connected to your iPad, the virtual keyboard will cease to appear. (This is a good thing.) However, what if, for some random reason, you needed that virtual keyboard? Don't unpair your Bluetooth. Just... Hit the eject key on Apple's physical keyboard. It'll bring up the virtual one.

There is another way to try to solve this, personally I tried it and it was very unstable. Taking into account that it is a kind of hack, expected unstable behavior.

This answer to a related question (https://stackoverflow.com/a/3837131/493988) has what seems like a hack based on a UITextField's inputAccessoryView.

Even the user @Kurt Arnlund in this answer mentions a external app called KeysPlease link here. I really have not tried it, you can try.

In summary, there seems to be a clean way to solve this, I think these may be the best attempts to reach a solution

Sources:
Bluetooth Scanner sets system-wide keyboard, UITextFields wont show soft keyboard on responder
Force on screen keyboard to show when bluetooth keyboard connected
Show iPhone soft keyboard even though a hardware keyboard is connected

like image 33
jose920405 Avatar answered Oct 19 '22 17:10

jose920405