It looks like you're new here. If you want to get involved, click one of these buttons!
How can I force Android to close/hide it's soft keyboard?
Use the InputMethodManager, calling hideSoftInputFromWindow, passing in the token of the window containing your edit field.
You can find more explanation in this thread.