Android ICP5 - pondurivenkatesh9/WEB GitHub Wiki

Name : Venkatesh Ponduri

Class Id : 23

This wiki presentation is about the icp5. In this there are two task, one is SQLite and second is Firebase. In first task we have code for adding the employee details to page in application. The task is to do update and delete the added employee details like name and mobile number. The below figure shows the main activity of the application where we have add sign which helps in changing from one intent to other intent where we can add employee details like name and mobile number.

Adding employee details

The below figures shows the adding of employee details and saving them in the application.

Employee details are saved in the application.

Updating Employee details

Updating of employee details is possible by using the primary key. Here i am getting details of employee and updating them with update method from unique Id.

Here i have updated name of the employee.

Deleting employee Id

Here the employee details is deleted by clocking on the delete button. Here i am getting details of employee by id and deleting them by calling delete method.The screenshot below shows the deletion of employee details.

Firebase

Here the user have to signup using valid credentials. His or her details are stored in the firebase. Here the user need to give first name, Last name, gmail and password.

The user need to login to use this application. Here the user need to provide valid credentials to login.

Here as soon as the user login the below page will be displayed. Here we enter user name and mobile number and click on save then the user details are saved in the update activity page.

By calling update method we will update employee details using unique Id. In the below figure i am trying to update employee name. By clicking on the update button the details will be updated.

The name of the employee is updated.

By clicking on the Logout button the user is directed to login activity where the user have to sign in again to use application.