I was wondering how I can mimic the action that occurs on an auto-linked email address via an intent. I tried using this method, Messaging and email intents in Android? and ran in on my phone and in my emulator and the message window opened but did not have the email address. And the composer window for the auto-link looks different than the composer for the following code. Any ideas?
Here is the code from the link above so you dont have to click:
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[] {"foo@bar.com"});
emailIntent.setType("text/plain");
startActivity(Intent.createChooser(emailIntent, "Send a mail ..."));