I would like to send a email through default email client,without chooser dialog for email clients been popped up in the application.Kindly help me with a snippet or example on this regard.Thank you.
Asked
Active
Viewed 679 times
0
-
Read http://stackoverflow.com/questions/18894774/detecting-the-target-application-when-sending-an-intent – Pankaj Kumar Feb 18 '14 at 08:02
-
Look up the definition of explicit intents vs. implicit intents. What you want is an explicit intent. The link posted by Pankaj is not relevant here. – Stephan Branczyk Feb 18 '14 at 08:02
-
See [Send Email in background](http://stackoverflow.com/a/19947819/3317558) – user3317558 Feb 18 '14 at 08:04
1 Answers
2
Generally, if you want to launch a specific application, you use an explicit Intent
, instead of an implicit one.
However, there is no such thing as a default email client in Android. Many manufacturers, eg Samsung install their own one, and some people use that, some use Gmail.
Android already has a way to let the user set the default via the Chooser dialog, so I would recommend you to rely on that.

FD_
- 12,947
- 4
- 35
- 62