Jhon wrote:Intent sendIntent = new Intent(Intent.ACTION_SEND);
// Add attributes to the intent
sendIntent.putExtra(Intent.EXTRA_TEXT,"Body of email");
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File("Filename")));
androidbase wrote:but this code shows "NO APPLICATION CAN PERFORM THIS ACTION" exception man..
Rahul wrote:The code is right... Probably you are trying it on an Emulator which does not have any Email sending software installed in it
Users browsing this forum: No registered users and 2 guests