mobile icp1 - PardhaSaradhi74/Web-and-Mobile-2020-summer GitHub Wiki

NAME

RAMINENI,PARDHA SARADHI


CLASS ID

32


Source Code:

https://umkc.box.com/s/gdhkllxu7dxu8nwgimqg1l3h42n2oyd8

In Class Programming:

Simple Login: Create a basic login applicationUnderstand the starter code given for text view, button view and make a simple login applicationwith the following requirements.

a.The main activity should look as below (make suitable changes tothe login app!).

b.Create the 'LOGIN' buttonin login screen

c.When clicked on 'LOGIN' button, the screen should navigate to welcome screen if the login credentials are valid otherwise app should display an appropriate message to the user

d.Create the 'LOGOUT' buttonin welcome screen

e.When clicked on 'LOGOUT' button, the screen should navigate to login screen

ANSWER))In the following icp the main task is to create an application which contains the options like login page credentials like username and password.When the user enters the credentials it redirects to the other page in which it contains the logout button.Along with this i have also added background to the page.For this ICP we need to install the Android Studio and I also installed drivers for it.

In main.Activity java file i have provided login credentials like username and password and buttons like login.When the user logs in the login button is replaced with logout button.I have provided the output in the below screenshots.