Hello. I have edit field. When user click on it virtual keyboard appears (shows by system). If some event occurs (I receive some notification or smth like) I need to close this virtual keyboard. Is there any way to do it programatically?

I had founded how to do it on S3, but I need to do the same for 5th edition.