0

I'm finishing my android application and I just need to get my application automatically send, if the user wants, an e-mail containing the password for that user, I've tried the way I point out more below, but it is bad because the body of message I am sending etc appears and does not want it, I want you to be completely hidden from the user. The user enters his email and told him sent to this email with your password. Here 's the code:

Intent itSend = new Intent(android.content.Intent.ACTION_SEND);

//vamos a enviar texto plano a menos que el checkbox esté marcado 
itSend.setType("plain/text");

//colocamos los datos para el envío
itSend.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{ user_text});
itSend.putExtra(android.content.Intent.EXTRA_SUBJECT, Subject);
itSend.putExtra(android.content.Intent.EXTRA_TEXT, cuerpo_email+pie_email);
startActivity(Intent.createChooser(itSend, "Send mail..."));
finish();
MysticMagicϡ
  • 28,593
  • 16
  • 73
  • 124
Isma9
  • 599
  • 1
  • 8
  • 14

0 Answers0