This code just aims to find the textbox and send some text to it. When it does that the keyboard appears on the android device.How to dismiss it after the sendKeys.
Add these desired capabilities values if you want to disable the keyboard on your android selenium tests.
capabilities.setCapability("unicodeKeyboard", true); capabilities.setCapability("resetKeyboard", true);