Hello, some customers are buying new tablets that come with Android V10 and can not send email from my application.
In previous versions of Android works well.
Is there any change in Android V10 in relation to emails?
Thanks.
Hello, the case is that it has been working for years with the same code, but with phones and tablets with earlier versions of Android.
B4X:
Sub SendEmail
Dim mail As Email
mail.To.Add(cEmail)
mail.Subject = "Test " & (DateTime.Date(DateTime.Now))
mail.Body = "Test"
mail.Attachments.Add(File.Combine(File.DirDefaultExternal,global.cFileip))
Dim intMsg As Intent = mail.GetIntent
intMsg.Flags=1
StartActivity(intMsg)
End Sub
Edit: FileProvider is included as an internal library now. After investigating several issues with the current FileProvider code that you can find in the forum, I decided to make some improvements and implement it in a class. Starting from Android 7 (API 24) you cannot directly share file uris...
Hello, this is my code, I copied it from that message precisely. And it has been working a long time, until now. But it only does not work with Android V10
I think I'm confusing, I'm going to relax and look at the problem well.
Although the customer I have lent a tablet with Android 6 while I solved the problem that only happens with Android 10.
There are several versioned components that affect the compilation process and the runtime behavior of our apps. The purpose of this tutorial is to explain the differences between them and help you choose which version to use. Each Android version is mapped to an api level. You can see this...
Hello, I have already discovered the problem.
The client had not registered any email account in the new tablet of him.
I could not know because he was helping him remotely on the phone.
Finally, when I asked him what email count he was using, he was silent for a moment and then he said. "I think I forgot to register the account."