Sub HideKeyboard (target As View)
Dim nativeMe As JavaObject
nativeMe.InitializeContext
nativeMe.RunMethod("hideSoftKeyboard",Array As Object(target))
End Sub
#If Java
public void hideSoftKeyboard(android.view.View view){
android.view.inputmethod.InputMethodManager imm = (android.view.inputmethod.InputMethodManager)getSystemService(android.content.Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
}
#End If