I have been learning android app developing through google and have learned little and from that little knowledge I have successfully developed a syllabus app for my college.
Now I am onto next app development which include Database for storing, retrieving & checking the inputed text.
Suppose for example I had made a UI in which there are 2 textbox each for username and password respectively and a button.
So when I click on that button, it should check that the username and password which is entered are same as in the database.
If yes then I will redirect to another activity and if not it should display error message.
So I am lil bit confuse on how to do that because graphically all is ready but coding is missing on that button.
I have just started learning android programming so if you all can explain me in step by step manner that would be easy for me to understand.