Hello friends, I am using Email object to send an email but when the users clicks on the button it opens the shareing and the user need to select a lot of options. I want to start gmail directly, any solution to that ? See the code:
B4X:
If Not (G.Registrado) Then
Private emlMsg As Email
emlMsg.To.Add("test@server.com")
emlMsg.Subject = "Subject"
emlMsg.Body = "Message body"
StartActivity(emlMsg.GetIntent)
End If
Hello friends, I am using Email object to send an email but when the users clicks on the button it opens the shareing and the user need to select a lot of options. I want to start gmail directly, any solution to that ? See the code:
B4X:
If Not (G.Registrado) Then
Private emlMsg As Email
emlMsg.To.Add("test@server.com")
emlMsg.Subject = "Subject"
emlMsg.Body = "Message body"
StartActivity(emlMsg.GetIntent)
End If
What if the user doesn't use GMail? Or what if (like me) they have more than 1 email account & use GMail for one & another mail client for another? You don't want to force them to use GMail - especially if they don't normally use it.
I don't think this solution uses Google Play. It does use OAuth - but that is accessed via the Google APIs console (not the Google Play Developer Console).