0
How to get user input from textfields then display the data from database on textview in android studio using Java.
1. User must login using their ID number only. 2. Take the user input then compare with info on the database. 3. Second activity to display all information linked to the Id number from database. 4. Information must be displayed in textviews in the second activity.
3 Réponses
0
Pienso que usas un EditText y que la pregunta es solo obtener la entrada del usuario:
import android.widget.EditText;
......
edit=(EditText)findViewById(R.id.IdControl);
String valor=edit.getText().toString().trim();
0
Y cual es el problema.
0
Segundo y se debe mostrar en la consola o en un TextView.