Android opening Gmail programatically

sapan
Open Gmail and compose mail template which user can send.



Intent emailIntent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(
"mailto", "testv@gmail.com", null));
emailIntent.putExtra(Intent.EXTRA_SUBJECT, "text subject");
mContext.startActivity(Intent.createChooser(emailIntent, null));
Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !