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.
public static AndroidDriver driver= null; ...... driver.hideKeyboard();
will works perfectly based from my experience