I notice if I use the below code to sedn email, email compse is shown. however, I can’t pick email from contact, rather I have to fill up email address. Is there aay to let user pick up an email address from contact:
public void sendSimpleEmail(View button) {
try {
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType("plain/text");
startActivity(emailIntent);
} catch (Exception e) {
Log.e(LOG_TAG, "sendSimpleEmail() failed to start activity.", e);
Toast.makeText(this, "No handler", Toast.LENGTH_LONG).show();
}
}
As “nandeesh” answered above, it depends on the email application, some may allow some may not . In my case i was trying with simulator only.