the email intent code is completely run in the android mobile model provided by android studio but when I run the code in my personal phone its not work…
please answer ??
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
5
Answers
Kotlin code,
Java code,
Don’t forget to set the type of intent so it will trigger email clients
I tested the code of mayar hassan, it worked fine on my side. [on Samsung Android 8.1]
The code:
The screenshot:
How to fix your problem
In general, I think we should do these as below.