Answer the question
In order to leave comments, you need to log in
How to get data from EditText?
I want to take data from EditText >
login_input = (EditText) findViewById(R.id.login_input);
password_input = (EditText) findViewById(R.id.password_input);
login = login_input.getText().toString();
password = password_input.getText().toString();
Toast.makeText(login.this, "Логин:"+login+" Пароль:"+ password, Toast.LENGTH_SHORT).show();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question