Lab Assignment 2 - Nikii1118/Web-Programming- GitHub Wiki
Class ID-10 Nikita Goyal
Class ID-2 Maryam Alkhabiet
Introduction
This lab assignment introduces us to Android programming, how can we connect it to the database, firebase, and call API in java.
Objective
To become familiar with the concepts of Android programming, the following task has been assigned:
TASK-1
- We have to include the features such as login,social login and signup
- After login it should display the username,gender,university information and anything more.
- The application should have logout button.
Code
MainActivity.java
UserProfile.java
Display.java
For this, we have used a Facebook login.
Output
Login
Welcome page
Logout
Social Login
TASK-2
We have to create an android application which includes:
- Services like Location or Sensors or Media or Microphone or Camera etc atleat two of them
- Any Social Media Related API
- One Grid Layout
- Good UI/UX.
Code
Register.java
Home.java
Maps.java
News.java
Storage.java
We have used the BBC sports API and Google Maps API to show the location and news.
OUTPUT
User registration page
Login Page
Home Page
News list
Maps Page
Storage Page saving the file
Opening the saved file
Conclusion
This lab assignment taught us how to access firebase and various API in mobile programming.