sending email and hide the soft keyboard

mjas

Member
Licensed User
Longtime User
Hello, I have an issue about sending emails:

I use this code for sending emails, that works fine:

B4X:
Dim Message As Email
Message.To.Add("[email protected]")
.......
.......
StartActivity(Message.GetIntent)

Then, when email is sent, or rejected, the Activity where i was before comes again but the soft keyboard stays on screen, and like Erel said to someone, i use "HideKeyboard" with this code:

B4X:
Sub Activity_Resume
.....
Dim phone1 As Phone
phone1.HideKeyboard(Activity)

but the keyboard only disapears with the "Back" button.

Any idea how can it be fixed?

Thank you for any help
 

mjas

Member
Licensed User
Longtime User
Thank you so much Erel, like this it works just fine!:icon_clap::icon_clap::icon_clap:
 
Upvote 0
Top