/ Published in: Java

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Intent i = new Intent(Intent.ACTION_SEND); //i.setType("text/plain"); //use this line for testing in the emulator i.setType("message/rfc822") ; // use from live device i.putExtra(Intent.EXTRA_SUBJECT,"subject goes here"); i.putExtra(Intent.EXTRA_TEXT,"body goes here"); startActivity(Intent.createChooser(i, "Select email application."));
Comments
