0% found this document useful (0 votes)
7 views28 pages

Report

Uploaded by

Pramod Parit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views28 pages

Report

Uploaded by

Pramod Parit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELAGAVI – 590018

A Mini Project Report on

“SPARROW CAMPUS APPLICATION”


Submitted By
Mr. Parshwa V Patil USN:2HN21CS020
Mr. Prajwal Hiremath USN:2HN21CS021
Mr. Satyajit Swami USN:2HN21CS049
Mr. Tanmay Nidagundi USN:2HN21CS050

Under the guidance of


Prof . Prasanna Patil

Department of Computer Science and Engineering

S.J.P.N Trust’s
HIRASUGAR INSTITUTE OF TECHNOLOGY, NIDASOSHI-591236
Inculcating Values, Promoting Prosperity
Approved by AICTE, Recognized by Govt. of Karnataka, Affiliated to VTU Belagavi.
Recognized under 2(f) &12B of UGC Act, 1956
Accredited at “A” Grade by NAAC
Programmes Accredited by NBA: CSE & ECE
Academic Year 2023-2024
VISVESVARAYA TECHNOLOGICAL UNIVERSITY
BELAGAVI – 590018

Department of Computer Science and Engineering


Certificate
Certified that the Mobile Application Development mini-project titled “Sparrow Campus
Application” is a bonafide work carried out by Mr. PARSHWA V PATIL (2HN21CS020), Mr.
PRAJWAL HIREMATH (2HN21CS020) , Mr. SATYAJIT SWAMI (2HN21CS049), and Mr.
TANMAY NIDAGUNDI (2HN21CS050) in partial fulfilment of the requirements of VI
semester of Bachelor of Computer Science and Engineering of the Visvesvaraya
Technology University, Belagavi during the academic year 2023 – 2024. It is certified that all
the corrections /suggestions indicated have been incorporated in the report. The project has
been approved as it satisfies the academic requirements in respect of mini project work
prescribed by the Bachelor of Engineering course.

Prof . Prasanna Patil Dr. K. B. Manwade Dr. S. C. Kamate


Guide H.O.D. Principal

Name of the Examiners Signature


1.
2.
ACKNOWLEDGEMENT

It is our pleasure to acknowledge the help we have received from individuals and the institute.
We would like to thank our Principal Dr. S. C. Kamate in particular for excellent facilities
provided.

We are very thankful and highly obliged to our beloved H.O.D Dr. K. B. Manwade for his
encouragement and insightful comments at virtually all stages of my mini-project.

We also wish to express our warm and grateful thanks to our respected guide Prof . Prasanna
Patil for giving us the advice and valuable guidance.

We also thank all Professors and Staff of CSE department for their constant encouragement.

Mr. Parshwa Patil

Mr. Prajwal Hiremath

Mr. Satyajit Swami

Mr. Tanmay Nidagundi.

i
ABSTRACT

Sparow Campus is a College Management Application Software, which is unparallel and


comprehensive College Software that covers details of faculties ,circular’s posted by college and
navigation of campus. It is an interactive platform for all the entities of college like Professors,
Management, Financial Department, Students, Parents and Librarian ,etc. This project helps the
management with less work. This project creates the application for the college with the information
about the college campus, faculties details, regular circular’s and time table of each semester. The
management updates the event which is going to be held so that students can view the details of the
event and actively participate in the event.

ii
INDEX

Acknowledgement i

Abstract ii

Chapter Title Page

1. Introduction 1-4

2. Software Requirement Specification 05

3. Design Implementation 06-07

4. Code 08-24

5. Screenshots 15-21

Conclusion 22

References 23
Sparrow Campus 2023-24

INTRODUCTION
CHAPTER 1

1.1 Introduction to Android Studio

What is Android Studio?


In recent times, Android became the world's most popular operating system for various reasons.
As an Android programmer, I want to share what the Android studio is? Android Studio is an
IDE for Google Android Development launched on 16th May 2013, during Google's I/O 2013
event. Android Studio contains all the Android tools to design, test, debug, and profile your
application. The Android Studio uses Gradle to manage your project, a Build Automation Tool.

For developing your first app, you need to download Android Studio for your preferred
platform (Windows®, MacOS, or Linux)from the Android developers site. Android Studio can
develop and test your application on either areal device or an emulator.

1.2 Structure

Each project in Android Studio contains one or more module switch source code files and
resource files. Types of modules include:

• Android app modules

• Library modules

• Google App Engine modules

By default, Android Studio displays your project files in the Android project view, as shown
infigure1.This view is organized by modules to provide quick access to your project's key
source files.

All the build files are visible at the top level under Gradle Scripts and each app module contains
the following folders:
• manifests: Contains theAndroidManifest.xml file.

• java: Contains the Java source code files, including J Unit test code.

• res: Contains all non-code resources, such as XML layouts, UI strings, and

Department of CSE, HIT NIdasosi 1


Sparrow Campus 2023-24

bitmap images.
The Android project structure on disk differs from this flattened presentation. To see the actual
file structure of the project, select Project from the Project dropdown.

You can also customize the view of the project files to focus on specific aspects of your app
development. For example, selecting the Problems view of your project displays links to the
source files containing any recognized coding and syntax errors, such as a missing XML
element closing tag in layout file.

1.3 Installation

Solet's launch AndroidStudio.exe, Make sure before launch Android Studio, Our Machine
should require installed Java JDK .

Figure 1.3.1 Android studio installation

Once you launched Android Studio, it’s time to mention JDK7 path or later version in android
studio installer.

Figure 1.3.2 Verifying requirements

Department of CSE, HIT NIdasosi 2


Sparrow Campus 2023-24

Need to check the components, which are required to create applications, below the image
has selected Android Studio, Android SDK, Android Virtual Machine and performance (Intel
chip).

Figure 1.3.3 Choosing Components

Need to specify the location of local machine path for Android studio and Android SDK, below
the image has taken default location ofwindows8.1 x64 bit architecture.

Figure 1.3.4 Configuration settings


Need to specify the ram space for Android emulator by default it would take 512MB of local
machine RAM.

Department of CSE, HIT NIdasosi 3


Sparrow Campus 2023-24

Figure 1.3.5 Configuration settings


At final stage, it would extract SDK packages into our local machine, it would take a while time
to finish the task and would take2626MB of Hard disk space.

Figure 1.3.6 Installing


After done all above steps perfectly, you must get finish but ton and it gonna be open android
studio project with Welcome to android studio message as shown below.

Figure 1.3.7 Configuration settings


Department of CSE, HIT NIdasosi 4
Sparrow Campus 2023-24

1.4 Overview of the project

This work deals with the development of android-based application that provides the
details of the given college like its faculty’s details, time table of students based on their
semester, circular’s on daily bases, to show that whether the faculty is present or not.

1.5 Aim of the project


The aim of this project is that it is build an app for sake of students and faculties ,which
provides them with the information about the college campus , faculty information ,
campus surroundings , time table for the students and display of daily updates or circular
produced by college or university.

Department of CSE, HIT NIdasosi


Sparrow Campus 2023-24

CHAPTER 2
SOFTWARE REQUIREMENT SPECIFICATION

2.1 Software Requirements

➢ Operating System: Windows7 or Higher

➢ Programming Language: Java/Kotlin

➢ Android Studio

2.2 Hardware Requirements


This package has been developed on :
➢ Processor: Intel Processor

➢ Processor Speed: 333 MHz

➢ RAM: 4 GB or Higher

➢ Graphics Card :512MB

➢ Monitor: Color

➢ Keyboard: Low Profile, Dispatchable Type

➢ I/O Parts: Mouse, Monitor

Department of CSE, HIT NIdasosi 6


Sparrow Campus 2023-24

CHAPTER 3
DESIGN IMPLEMENTATION

Figure 3.1 Design Implementation Diagram

Department of CSE, HIT NIdasosi 7


Sparrow Campus 2023-24

3.1 Module Description


➢ Add:

Create new account by adding name , email, phone number .


➢ Options:

Here by using bottom bar you can shift between pages and can add time table by clicking on time table
botton

➢ Update:

By can even update your phone number ,email and time table based on your need.

➢ Surroundings:
By clicking on map option you will get a map based on college surroundings that will display buildings
surrounding near the college.

➢ Details:
By clicking on faculty botton you can get the information regarding each faculty.

Department of CSE, HIT NIdasosi 8


Sparrow Campus 2023-24

CHAPTER 4
CODE

MainActivity.java
package com.example.sparrowcampus;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

import androidx.activity.EdgeToEdge;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;

import com.google.android.material.textfield.TextInputLayout;
import com.google.firebase.database.DataSnapshot;
import com.google.firebase.database.DatabaseError;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import com.google.firebase.database.ValueEventListener;

public class Register extends AppCompatActivity {


DatabaseReference reference=
FirebaseDatabase.getInstance().getReferenceFromUrl("https://sparrow-campus-5b0c9-default-
rtdb.firebaseio.com");

EditText phone, password, confPassword, name;


Button sign_up;
TextView sign_in,textView1,textView2;

Department of CSE, HIT NIdasosi 9


Sparrow Campus 2023-24

TextInputLayout textInputLayout1,textInputLayout2,textInputLayout3,textInputLayout4;
LinearLayout linearLayout;
float v=0;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EdgeToEdge.enable(this);
setContentView(R.layout.activity_register);

sign_in=findViewById(R.id.sign_in);
name=findViewById(R.id.fullName);
phone=findViewById(R.id.phone);
password=findViewById(R.id.password);
confPassword=findViewById(R.id.confPassword);
sign_up=findViewById(R.id.register);
textView1=findViewById(R.id.textView1);
textView2=findViewById(R.id.textView2);
textInputLayout1=findViewById(R.id.textInputLayout1);
textInputLayout2=findViewById(R.id.textInputLayout2);
textInputLayout3=findViewById(R.id.textInputLayout3);
textInputLayout4=findViewById(R.id.textInputLayout4);
linearLayout=findViewById(R.id.linearLayout);

sign_in.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent=new Intent(Register.this, Login.class);
startActivity(intent);
finish();
}
});

Department of CSE, HIT NIdasosi 10


Sparrow Campus

textView1.setTranslationX(-300);
textView2.setTranslationX(-300);
textInputLayout1.setTranslationY(300);
textInputLayout2.setTranslationY(300);
textInputLayout3.setTranslationY(300);
textInputLayout4.setTranslationY(300);
linearLayout.setTranslationY(300);
sign_up.setTranslationY(300);

textView1.setAlpha(v);
textView2.setAlpha(v);
textInputLayout1.setAlpha(v);
textInputLayout2.setAlpha(v);
textInputLayout3.setAlpha(v);
textInputLayout4.setAlpha(v);
linearLayout.setAlpha(v);
sign_up.setAlpha(v);;

textView1.animate().translationX(0).alpha(1).setDuration(1000).setStartDelay(200);
textView2.animate().translationX(0).alpha(1).setDuration(1000).setStartDelay(200);
textInputLayout1.animate().translationY(0).alpha(1).setDuration(1000).setStartDelay(300);
textInputLayout2.animate().translationY(0).alpha(1).setDuration(1000).setStartDelay(400);
textInputLayout3.animate().translationY(0).alpha(1).setDuration(1000).setStartDelay(500);
textInputLayout4.animate().translationY(0).alpha(1).setDuration(1000).setStartDelay(500);
sign_up.animate().translationY(0).alpha(1).setDuration(1000).setStartDelay(600);
linearLayout.animate().translationY(0).alpha(1).setDuration(1000).setStartDelay(600);

sign_up.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
String fullName=name.getText().toString();

String phoneNum =phone.getText().toString();


String passwordText=password.getText().toString();

Department of CSE, HIT NIdasosi 11


Sparrow Campus 2023-24

String confPasswordText=confPassword.getText().toString();

if(fullName.isEmpty())
Toast.makeText(Register.this, "Please Enter Your Name!",
Toast.LENGTH_SHORT).show();
else if(phoneNum.isEmpty())
Toast.makeText(Register.this, "Please Enter Your Email!",
Toast.LENGTH_SHORT).show();
else if(passwordText.isEmpty())
Toast.makeText(Register.this, "Please Enter Your Password!",
Toast.LENGTH_SHORT).show();
else if(confPasswordText.isEmpty())
Toast.makeText(Register.this, "Please Confirm Your Password!",
Toast.LENGTH_SHORT).show();
else if(!passwordText.equals(confPasswordText))
Toast.makeText(Register.this, "Passwords doesn't match!",
Toast.LENGTH_SHORT).show();
else{
reference.child("users").addListenerForSingleValueEvent(new ValueEventListener() {
@Override
public void onDataChange(@NonNull DataSnapshot snapshot) {
if(snapshot.hasChild(phoneNum))
Toast.makeText(Register.this, "User from this number is already registered!",
Toast.LENGTH_SHORT).show();
else {
reference.child("users").child(phoneNum).child("fullName").setValue(fullName);

reference.child("users").child(phoneNum).child("password").setValue(passwordText);

Toast.makeText(Register.this,"RegisteredSuccessfully!",Toast.LENGTH_SHORT).show();
Intent intent= new Intent(Register.this, Login.class);
startActivity(intent);
finish();
}

Department of CSE, HIT NIdasosi 12


Sparrow Campus 2023-24

}
@Override
public void onCancelled(@NonNull DatabaseError error) {

}
});

}
}
});

}
}

Home.xml:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".HomeFragment">

<!-- Spinner for semester selection -->


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<Spinner
android:id="@+id/semesterSpinner"
android:layout_width="wrap_content"

Department of CSE, HIT Nidasosi 13


Sparrow Campus 2023-24

android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:entries="@array/semester_array" />

<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
android:scrollbars="horizontal"
android:layout_marginTop="13dp">

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:id="@+id/monday"
android:layout_width="115dp"
android:layout_height="wrap_content"
android:background="@android:color/holo_blue_light"
android:padding="16dp"
android:text="Monday"
android:textColor="#455A64"
android:textSize="18sp" />

<TextView
android:id="@+id/tuesday"
android:layout_width="115dp"
android:layout_height="wrap_content"
android:background="@android:color/holo_green_light"
android:padding="16dp"

Department of CSE, HIT Nidasosi 14


Sparrow Campus 2023-24

android:text="Tuesday"
android:textColor="#616161"
android:textSize="18sp" />

<TextView
android:id="@+id/wednesday"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/holo_orange_light"
android:padding="16dp"
android:text="Wednesday"
android:textColor="#546E7A"
android:textSize="18sp" />

<TextView
android:id="@+id/thursday"
android:layout_width="115dp"
android:layout_height="wrap_content"
android:padding="16dp"
android:background="@android:color/holo_red_light"
android:text="Thursday"
android:textSize="18sp"
android:textColor="@android:color/white" />

<TextView
android:id="@+id/friday"
android:layout_width="115dp"
android:layout_height="wrap_content"
android:padding="16dp"
android:background="@android:color/holo_purple"
android:text="Friday"
android:textSize="18sp"
android:textColor="@android:color/white" />

Department of CSE, HIT Nidasosi 15


Sparrow Campus 2023-24

<TextView
android:id="@+id/saturday"
android:layout_width="115dp"
android:layout_height="wrap_content"
android:padding="16dp"
android:background="@android:color/holo_blue_light"
android:text="Saturday"
android:textSize="18sp"
android:textColor="@android:color/white" />
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>
</FrameLayout>

Department of CSE, HIT Nidasosi 16


Sparrow Campus 2023-24

CHAPTER 5
SCREENSHOTS

Figure 5.1 Sign In Figure 5.2 Login Page

Department of CSE, HIT Nidasosi 17


Sparrow Campus 2023-24

Figure 5.3 Home Page Figure 5.4 Faculty Details

Department of CSE, HIT Nidasosi 18


Sparrow Campus 2023-24

Figure 5.5 Profile Page Figure 5.6 Update profile

19
Department of CSE, HIT Nidasosi
Sparrow Campus 2023-24

Figure 5.7 Faculty details(Administrator) Figure 5.8 Add new Faculty Member

Department of CSE, HIT Nidasosi 20


Sparrow Campus 2023-24

Figure 5.7 View of Faculty details Figure 5.8 Administrator Profile

Department of CSE, HIT Nidasosi 21


Sparrow Campus 2023-24

CONCLUSION

College Management Application assists in automating the existing manual system. This is a
paperless work. It can be monitored and controlled remotely. It reduces the man power required. It
provides accurate information always. All gathered information can be saved and can be accessed at
any time. The data which is stored in the repository helps in taking intelligent decisions by the
management. So, it is better to have an Application Based Information Management system. All the
Students, Faculty and Management can get the required information without delay. This system is
essential in the Colleges and Schools Institutions.

Department of CSE, HIT Nidasosi 22


Sparrow Campus 2023-24

REFERENCES

Books:
1. Erik Hellman, “Android Programming – Pushing the Limits”, 1st Edition,
Wiley India Pvt Ltd, 2014.

2. Google Developer Training, "Android Developer Fundamentals Course –


Concept, Google Developer Training Team, 2017.

Websites:
1. www.stackoverflow.com
2. https://developer.android.com
3. www.github.com
4. https://developer.android.com

Department of CSE, HIT Nidasosi 23

You might also like