NET MAUI Barcode Scanner Hide Keyboard on Entry for Android

Аватар автора
MySQL Виртуал
This video was made using .NET 7 and Visual Studio 2022 NET Maui. The video demonstrates hiding the Android SoftKeyboard when entering data into an Entry field, which is useful for barcode scanning applications where the keyboard is not used. There are 3 entry controls in the video, the 2 with white background will not show the keyboard under any scenario, and the control with yellow background shows the keyboard when focuses or typing (the keyboard returns when a character is entered after it has been manually hidden using the button). NOTE: I hide the keyboard various times in the video in an attempt to get it to not pop back up in the yellow entry control, but it never fails... the keyboard also never shows up in the white entry boxes under any scenario. There are not many applications where someone would need an entry for barcode scanning on the same page as an entry for manual entering data, but I showed them both on the same page to demonstrate flexibility.

0/0


0/0

0/0

0/0