How to get user input from textfields then display the data from database on textview in android studio using Java. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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.

24th Feb 2021, 2:32 PM
Odwa Khefu
3 ответов
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();
24th Feb 2021, 2:54 PM
Daniel Briceño
Daniel Briceño - avatar
0
Y cual es el problema.
24th Feb 2021, 2:51 PM
Daniel Briceño
Daniel Briceño - avatar
0
Segundo y se debe mostrar en la consola o en un TextView.
24th Feb 2021, 2:56 PM
Daniel Briceño
Daniel Briceño - avatar