I wanted to create an automatically crash report feedback in SqueezeCommander.
I thought, the easiest solution would be to send the reports by mail, so the user can also see all informations that will be reported to me and choose if he wants to send or discard the report.
Normally, it should be possible to send emails from within an application by creating an intent Intent.ACTION_SEND with extra parameters.
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "email text");
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject");
sendIntent.putExtra(Intent.EXTRA_EMAIL, new String[] {"email@address.com"});
sendIntent.setType("message/rfc822");
startActivity(Intent.createChooser(sendIntent, "Title:"));
Unfortunately, this does not work on my HTC Hero. ;-(
(more…)

