I have used:
When the email is created, the soft keyboard does not go away.
In the Activity_Resume, it have:
I found this solution HERE offered by Erel. However, this was in 2012 and I fear things have changed.
Is there a solution to hide the keyboard upon return from the Email intent?
Thanks
Rusty
B4X:
Sub btnSendEmail_Click
Dim email As Email
email.To.Add(Starter.emailAddress)
email.Subject = "User Report"
email.body = "this is the body"
Dim in As Intent = email.GetIntent
StartActivity(in)
End Sub
When the email is created, the soft keyboard does not go away.
In the Activity_Resume, it have:
B4X:
Sub HideKeyboard
Dim phone1 As Phone
phone1.HideKeyboard(Activity)
End Sub
Sub Activity_Resume
CallSub(Me, "HideKeyboard")
End Sub
Sub Activity_Pause (UserClosed As Boolean)
CallSubDelayed(Me, "HideKeyboard")
End Sub
I found this solution HERE offered by Erel. However, this was in 2012 and I fear things have changed.
Is there a solution to hide the keyboard upon return from the Email intent?
Thanks
Rusty