# Disable pop-up keyboard in perspective on Android device

**URL:** <https://forum.inductiveautomation.com/t/disable-pop-up-keyboard-in-perspective-on-android-device/80341>\
**Category:** Ignition\
**Tags:** perspective, vision\
**Created:** [October 11, 2023, 2:47pm UTC](https://forum.inductiveautomation.com/t/disable-pop-up-keyboard-in-perspective-on-android-device/80341 "2023-10-11T14:47:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![compuzak](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@compuzak](https://forum.inductiveautomation.com/u/compuzak)\
**Post date:** [October 11, 2023, 2:47pm UTC](https://forum.inductiveautomation.com/t/disable-pop-up-keyboard-in-perspective-on-android-device/80341/1 "2023-10-11T14:47:00Z")

</div>

I can't figure out how to disable the touch screen keyboard on an android scanner. In Vision, I created a button and toggled the field based on whether or not they wanted the pop-up keyboard to display. The only solution I could find was to disable the pop-up keyboard on the Android device, which obviously prevents the user from entering data into my app. 99% of the time it works directly with scans, but if a bar code is damaged, they need to key in the bar code. In the vision app they touch a button to enable the keyboard, enter the tag number, and then touch the button again to disable the keyboard.

```auto
#Code on button in vision version of this mobile app:
keyBoardOnOff = event.source.parent.getComponent('btnKeyboardOnOff').text
if keyBoardOnOff == "ON":
	event.source.parent.getComponent('btnKeyboardOnOff').text = "OFF"
	event.source.parent.getComponent('tboPrmRoomDirScan').touchscreenMode = 0
	event.source.parent.getComponent('tboPrmBinTagScan').touchscreenMode = 0

else:
	event.source.parent.getComponent('btnKeyboardOnOff').text = "ON"
	event.source.parent.getComponent('tboPrmRoomDirScan').touchscreenMode = 1
	event.source.parent.getComponent('tboPrmBinTagScan').touchscreenMode = 1

```

Is there a way to mimic this behavior in perspective?
