I have 5 'edit texts' and a button, how do I make the information I write in the EditText by pressing the 'Button' sent to my email?
public class MainActivity extends AppCompatActivity {
EditText txtNombre,txtCip,txtDNI,txtCel,txtEmail;
Button btnIniciar;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
txtNombre=(EditText)findViewById(R.id.txtNombre);
txtCip=(EditText)findViewById(R.id.txtCip);
txtDNI=(EditText)findViewById(R.id.txtDNI);
txtCel=(EditText)findViewById(R.id.txtCel);
txtEmail=(EditText)findViewById(R.id.txtEmail);
btnIniciar=(Button)findViewById(R.id.btnIniciar);
btnIniciar.setOnClickListener(new View.OnClickListener() {
@Override
});
}
}