You are on page 1of 96

PROJECT REPORT

ON
EASY FIND
(Mobile Application)

Submitted in Partial Fulfilment of the Requirement


For the Degree Of
Bachelors of Computer Application
From
University Department of Computer Application, V.B.U, Hazaribagh
Affiliated By
Vinoba Bhave University, Hazaribagh

Session 2019 – 2022

Under the Guidance Of


Amit Kumar Soni

Submitted by Other Group Members

Pawan Kumar (201809008988) Shailesh Kumar (201809008961)


Manoj Kumar (201809009008)
Shashwat Kumar (201809008995)
Shyam Kuamar (201809008967)
Anurag Koushik (201809008970)
CERTIFICATE

THIS IS TO CERTIFY THAT THE STUDENTS PAWAN KUMAR, SHAILESH KUMAR, SHYAM KUMAR, SHASHWAT

KUMAR, MANOJ KUMAR & ANURAG KAUSHIK OF VINOBA BHAVE UNIVERSITY, HAZARIBAGH HAVE

UNDERGO THE PROJECT ON EASY FIND AND HAVE PREPARED THIS PROJECT REPORT BY VIRTUE OF THEIR

DILIGENCE AND SELF EFFORT.

THEY HAVE SUCCESSFULLY COMPLETED EVERY ASPECT OF THIS PROJECT WITH A LOT OF SINCERITY BY

ABIDING WITH THE RULES OF THE UNIVERSITY.

WE WISH THEM ALL SUCCESS FOR THEIR FUTURE.

PROJECT CO-ORDINATOR EXTERNAL SIGNATURE


ACKNOWLEDGEMENT

The successful completion of this project gives one of the great feelings of evolution and
fulfilment. The satisfaction that accompanies that the successful completion of any task would
be incomplete without the mention of people. Whose ceaseless cooperation made it possible,
whose constant guidance and encouragement crown all efforts with success.
I am grateful to my project guide for the guidance, inspiration and
constructive suggestions that help me in the preparation of this project.
I would also like to thank my University professors, MCA Dept., Vinoba Bhave
University who has always given me a chance to explore my talent. He is always energetic &
more alert to entire new happening in IT world & passes the information to all the students.
I would also like to my friends and family who have helped me in successful completion of the
project.

Sincerely
Pawan Kumar
1. Introduction

❖ Easy Find is an Android Application that will provide the information about
Institute, Library, Food Corner, Clinic, etc. which is available for users.

❖ Easy Find application will make easy to find the location of


Institute, Library, Food Corner, Clinic, etc. Select no. of Institute and other
facts by the users.

❖ This application will show the condition of all institute, medical, library etc.
❖ This application all the information is uploaded which is needed for
students.

• Purpose
As we know that customer is the centre of everything in marketing, our team
has also kept that in mind at every developing stage of "Easy Find".

So, let's talk more about our brand audience, you see our application is
mainly targeted to students and scholars but is not limited there, we
consciously have designed this app to be so simple and user friendly that
even High school or Secondary school students can use it. But yes, this app is
targeting a group specifically, you see our country is at a developing stage,
many small towns, villages and even cities don't yet have any proper
educational institutions. So, the students or scholars move to more advanced
cities for pursuing higher education. These peoples who have left their
hometown and are left to face a vast, dense and busy city (and sometimes all
alone) are our major target audience. You see our goal here is to help make
their new life more convenient here in this new place, by offering all the help
they can use at just the tap of their finger.
SERVER SIDE CLIENT SIDE

1. Firebase 1. Android
(Google) Development
2. Java Tool kit
2. XML

The project will be a Android Application to be developed in Java.

• Android Studio
• Java
• XML

• Android Studio

Android Studio is the Integrated Development Environment (IDE) for Android


app development.
Features: -

 A fast and feature-rich emulator.

 A unified environment where you can develop for all Android Devices.

 Instant Run to push changes to your running app without Building a


new APK.

 Extensive testing tools and frameworks.

 Link tools to catch performance, usability, version compatibility, and


other problems.

• Java
❖ Java is an Object Oriented Programming(OOP) structure that can
be used to create complete application that may run on a single
computer or be distributed among servers and Clients in a
network.

❖ Java technology is used for developing both applets and applications.

Main Features
I. Object Oriented
II. Platform Independent
III. Simple
IV. Secure
V. Portable
VI. Robust
VII. Multithreaded

• XML
• XML stand for Extensible Markup Language.

• Extensible means that the language is a shell, or skeleton that can be


extended by anyone who wants to create additional ways to use XML.
• Markup means that XML’s primary task is to give definition to text and
symbols.

• XML is a software- and hardware- independent tool for storing and


transporting data.

3. Project Requirements

• Hardware Requirements

1. PROCESSOR
2. RAM 4GB and Above
3. HARD DISK
4. MONITOR
5. STANDARD KEYBOARD
6. OPTICAL MOUSE

• Software Requirements

Chrome or higher web browser.

• Operating System

Windows 8.1, Windows 10, Linux and higher version.


4. Objective
• Manage the user types so that the University Students
and landlords can use the same app.
• Create a document verification system for landlords in
order to permit them to publish the homes.

• Post the homes with the location, description, price


details, amenities, and pictures by landlords.

• List the homes based on the user location.

• Proper management of request for home from students


the acceptance or declination from landlords.

• Properly managing the rent agreement with validity


details.

• Create a payment system to manage the tenant


occupancy in the landlord’s home.

• Implement a rating system for both the students and


landlords.

• Create a proper communication channel between


students and landlords

5. TESTING PHASE
One of the purposes of the testing is to validate and verify the system. Verification
means checking the system to ensure that it is doing what the function is
supposed to do and Validation means checking to ensure that system is doing
what the user wants it to do.

No program or system design is perfect; communication between the user and


the designer is not always complete or clear, and time is usually short. The result
is errors and more errors. Theoretically, a newly designed system should have all
the pieces in working order, but in reality, each piece works independently. Now
is the time to put all the pieces into one system and test it to determine whether
it meets the user's requirements. This is the best chance to detect and correct
errors before the system is implemented. The purpose of system testing is to
consider all the likely variations to which it will be subjected and then push the
system to its limits. If we implement the system without proper testing then it
might cause the problems.

1. Communication between the user and the designer.

2. The programmer's ability to generate a code that reflects exactly the system
specification.

3. The time frame for the design.

Theoretically, a new designed system should have all the pieces in working order,
but in reality, each piece works independently. Now is the time to put all the
pieces into one system and test it to determine whether it meets the
requirements of the user. The process of system testing and the steps taken to
validate and prepare a system for final implementation are:

LEVELS OF TESTING

The different types of testing are as follows:

UNIT TESTING

VALIDATION

INTREGRATIONN

SYSTEM

1.Unit Testing:

This is the smallest testable unit of a computer system and is normally tested
using the white box testing. The author of the programs usually carries out unit
tests.

2. Integration Testing:
In integration testing, the different units of the system are integrated together to
form the complete system and this type of testing checks the system as whole to
ensure that it is doing what is supposed to do. The testing of an integrated system
can be carried out top-down, bottom-up, or big-bang. In this type of testing, some
parts will be tested with white box testing and some with black box testing
techniques. This type of testing plays very important role in increasing the
systems productivity. We have checked our system by using the integration
testing techniques.

3. System Testing:

A part from testing the system to validate the functionality of software against
the requirements, it is also necessary to test the non-functional aspect of the
system. Some examples of non-functional tools include tests to check
performance, data security, usability/user friendliness, volume, load/stress that
we have used in our project to test the various modules.

System testing consists of the following steps:

1. Program(s) testing.
2. String testing.

3. System testing.
4. System documentation.

5. User acceptance testing.

❖ Activity Network for System Testing

The test plan entails the following activities:

1. Prepare test plan.

2. Specify conditions for user acceptance testing.

3. Prepare test data for program testing.

4. Prepare test data for transaction path testing.

5. Plan user training.

6. Compile/assemble programs.

7. Prepare job performance aids.

8. Prepare operational documents.

❖ Prepare Test

A workable test plan must be prepared in accordance with established

design specifications. It includes the following items:


• Outputs expected from the system.

• Criteria for evaluating outputs.

• A volume of test data.

• Procedure for using test data.

• Personnel and training requirements.

Specify Conditions for User Acceptance Testing

Planning for user acceptance testing calls for the analyst and the user to agree on
conditions for the test.

Prepare Test Data for Program Testing

As each program is coded, test data are prepared and documented to ensure that
all aspects of the program are properly tested.

Plan User Training


User training is designed to prepare the user for testing and converting the system.
User involvement and training take place parallel with programming for three
reasons:

• The system group has time available to spend on training while the programs
are being written.

• Initiating a user-training program gives the systems group a clearer image of


the user's interest in the new system.

• A trained user participates more effectively in system testing. The training


plan is followed by preparation of the user training manual and other text
materials.

Compile / Assemble Programs

All programs have to be compiled / assembled for testing.

Prepare Job Performance Aids

In this activity the materials to be used by personnel to run the system are specified
and scheduled. This includes a display of materials.

Prepare Operational Documents

During the test plan stage, all operational documents are finalized including copies
of the operational formats required by the candidate system.
Systems testing

The computer department to ensure that the system functions as specified does
this testing. This testing is important to ensure that a working system is handed
over to the user for acceptance testing.

Acceptance testing.

The user to ensure that the system functions, as the user actually wanted
performs this testing. With prototyping techniques, this stage becomes very much
a formality to check the accuracy and completeness of processing. The screen
layouts and output should already have been tested during the prototyping
phase.

An error in the program code can remain undetected indefinitely. To prevent this
from happening the code was tested at various levels. To successfully test a
system, each condition, and combinations of conditions had to be tested. Each
program was tested and linked to other programs. This unit of program is tested
and linked to other units and so on until the complete system has been tested.

The purpose of testing is to ensure that each program is fully tested. To do so a


test plan had to be created. The test plan consists of a number of test runs such
as the valid paths through the code, and the exception and error handling paths.
For each test run there is a list of conditions tested, the test data used and the
result expected. The test plan was then reviewed to check that each path through
the code is tested correctly. It is the responsibility of the programmer to collect
the data that will produce the required test condition.

 Creating a Welcome Page: -


Splash Screen JAVA CODE -1.1

package com.example.easyfind;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import androidx.appcompat.app.AppCompatActivity;
import com.example.easyfind.common.Common;
import com.example.easyfind.databinding.ActivityWelcomeBinding;

public class Welcome extends AppCompatActivity {


private static final int SPLASH_TIME_OUT = 2500;
ActivityWelcomeBinding binding;
Common common;
String isFirstTime = "";

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = ActivityWelcomeBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
common = Common.getNewInstance(this);
isFirstTime = common.getStringValue("SPLASH");
new Handler().postDelayed(new Runnable() {

@Override
public void run() {
if (isFirstTime.equalsIgnoreCase("")) {
if (common.isNetworkAvailable()) {

Intent homeIntent = new Intent(Welcome.this, MainActivity.class);


startActivity(homeIntent);
finish();
common.setStringValue("SPLASH", "Y");
} else {
common.showLongToast("No Internet");
}

} else {
if (common.isNetworkAvailable()) {
Intent homeIntent = new Intent(Welcome.this, PreDashbord.class);
startActivity(homeIntent);
finish();
} else {
common.showLongToast("No Internet");
}
}
}
}, SPLASH_TIME_OUT);
}
}

Splash Screen XML CODE -1.1


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="16dp"
android:background="@drawable/gradiant"
android:layout_gravity="center"
tools:context=".Welcome">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/splashscreen">
</ImageView>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/splashscreen">
</ImageView>

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="-80dp"
android:layout_marginBottom="-60dp"
android:background="@drawable/ic_baseline_alt_route_24"
android:backgroundTint="#40A361B5">
</ImageView>

</RelativeLayout>

Login JAVA CODE -1.2

package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.example.easyfind.databinding.ActivityMainBinding;

public class MainActivity extends AppCompatActivity {


ActivityMainBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding= ActivityMainBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.createacount.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(MainActivity.this,LoginSignUp.class);
startActivity(intent);

}
});

binding.loginbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

Intent intent=new Intent(MainActivity.this,PreDashbord.class);


startActivity(intent);
}
});

binding.forgotpass.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(MainActivity.this,ForgotPassword.class);
startActivity(intent);
}
});

}
}

Login XML CODE -1.2

<?xml version="1.0" encoding="utf-8"?>


<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="20dp"
android:background="@drawable/gradiant"
tools:context=".MainActivity">

<TextView
android:id="@+id/signin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="50dp"
android:layout_marginTop="50dp"
android:layout_marginEnd="50dp"
android:layout_marginBottom="50dp"
android:gravity="center"
android:text="Sign in"
android:textColor="@color/white"
android:textSize="35dp"
android:textStyle="bold" />

<EditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/signin"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:background="#30ffffff"
android:drawableLeft="@drawable/ic_baseline_perm_identity_24"
android:drawablePadding="20dp"
android:hint="Username / Number"
android:inputType="phone"
android:padding="20dp"
android:textColor="#FDFCFC"
android:textColorHint="#80FEFFFF" />

<EditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/username"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:background="#30ffffff"
android:drawableLeft="@drawable/ic_baseline_lock_24"
android:drawablePadding="20dp"
android:hint="Password"
android:inputType="textPassword"
android:padding="20dp"
android:textColor="@color/white"
android:textColorHint="#80FEFFFF" />

<TextView
android:id="@+id/forgotpass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/password"
android:layout_alignParentRight="true"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="15dp"
android:layout_marginBottom="20dp"
android:text="Forgot password?"
android:textColor="@color/white"
android:textSize="18dp" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/forgotpass"
android:layout_centerHorizontal="true"
android:gravity="center"
android:orientation="vertical">

<com.google.android.material.button.MaterialButton
android:id="@+id/loginbtn"
android:layout_width="142dp"
android:layout_height="68dp"
android:layout_below="@id/forgotpass"
android:layout_centerHorizontal="true"
android:layout_marginStart="10dp"
android:layout_marginTop="41dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="20dp"
android:backgroundTint="#BAD0DA"
android:text="LOGIN"
android:textColor="@color/purple_500"
android:textSize="25dp"
android:textStyle="bold"
app:shapeAppearanceOverlay="@dimen/cardview_default_elevation" />

<TextView
android:id="@+id/createacount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/loginbtn"
android:layout_centerHorizontal="true"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="20dp"
android:text="Create Account"
android:textColor="@color/white" />

</LinearLayout>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/others"
android:layout_above="@id/socialicons"
android:text="or sign in with"
android:layout_centerHorizontal="true"/>

<LinearLayout
android:id="@+id/socialicons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="20dp"
android:src="@drawable/google" />

<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="20dp"
android:src="@drawable/fb" />

<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="20dp"
android:src="@drawable/twitter" />
</LinearLayout>
</RelativeLayout>

Register Acoount JAVA CODE -1.3

package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityLoginSignUpBinding;

public class LoginSignUp extends AppCompatActivity {


ActivityLoginSignUpBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding=ActivityLoginSignUpBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
binding.signupLoginButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent= new Intent(LoginSignUp.this,MainActivity.class);
startActivity(intent);
}
});

binding.signupNextButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(LoginSignUp.this,otp.class);
startActivity(intent);
}
});

}
}

Register Acoount XML CODE -1.3


<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/gradiant"
tools:context=".LoginSignUp">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:padding="20dp">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="40dp">
<TextView
android:id="@+id/signup_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="create"
android:textAllCaps="true"
android:textColor="@color/black"
android:textSize="40sp"/>

<TextView
android:id="@+id/signup2_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/signup_title_text"
android:text="account"
android:textAllCaps="true"
android:textColor="@color/black"
android:textSize="40sp"
android:transitionName="transition_title_text" />

</RelativeLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/signup_fullname"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Full Name"
android:textColorHint="@color/black"
app:boxStrokeColor="@color/black"
app:boxStrokeWidthFocused="2dp"
app:endIconMode="clear_text"
app:endIconTint="@color/black"
app:hintTextColor="@color/black"
app:startIconDrawable="@drawable/ic_baseline_perm_identity_24"
app:startIconTint="@color/black">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="text"
android:textColor="@color/black"
android:textCursorDrawable="@null" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/signup_username"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Mobile Number"
android:textColorHint="@color/black"
app:boxStrokeColor="@color/black"
app:boxStrokeWidthFocused="2dp"
app:endIconMode="clear_text"
app:endIconTint="@color/black"
app:hintTextColor="@color/black"
app:startIconDrawable="@drawable/ic_mobile"
app:startIconTint="@color/black">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="text"
android:textColor="@color/black"
android:textCursorDrawable="@null" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/signup_email"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Mail"
android:textColorHint="@color/black"
app:boxStrokeColor="@color/black"
app:boxStrokeWidthFocused="2dp"
app:endIconMode="clear_text"
app:endIconTint="@color/black"
app:hintTextColor="@color/black"
app:startIconDrawable="@drawable/ic_baseline_email_24"
app:startIconTint="@color/black">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textEmailAddress"
android:textColor="@color/black"
android:textCursorDrawable="@null" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/signup_password"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Password"
android:textColorHint="@color/black"
app:boxStrokeColor="@color/black"
app:boxStrokeWidthFocused="2dp"
app:endIconTint="@color/black"
app:hintTextColor="@color/black"
app:passwordToggleEnabled="true"
app:passwordToggleTint="@color/black"
app:startIconDrawable="@drawable/ic_baseline_lock_24"
app:startIconTint="@color/black">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textPassword"
android:textColor="@color/black"
android:textCursorDrawable="@null" />
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:id="@+id/signup_repassword"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter Re-Password"
android:textColorHint="@color/black"
app:boxStrokeColor="@color/black"
app:boxStrokeWidthFocused="2dp"
app:endIconTint="@color/black"
app:hintTextColor="@color/black"
app:passwordToggleEnabled="true"
app:passwordToggleTint="@color/black"
app:startIconDrawable="@drawable/ic_baseline_lock_24"
app:startIconTint="@color/black">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textPassword"
android:textColor="@color/black"
android:textCursorDrawable="@null" />
</com.google.android.material.textfield.TextInputLayout>

</LinearLayout>

<Button
android:id="@+id/signup_next_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:background="@color/black"
android:elevation="5dp"
android:text="Next"
android:textColor="@color/white"
android:transitionName="transition_next_btn" />

<Button
android:id="@+id/signup_login_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:background="#00000000"
android:elevation="5dp"
android:text="login"
android:textSize="23dp"
android:textColor="@color/black"
android:transitionName="transition_login_btn" />

<TextView
android:id="@+id/others"
android:layout_marginTop="30dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/socialicons"
android:layout_centerHorizontal="true"
android:text="or sigup is with" />

<LinearLayout
android:id="@+id/socialicons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center">

<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="20dp"
android:src="@drawable/google" />

<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="20dp"
android:src="@drawable/fb" />

<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_margin="20dp"
android:src="@drawable/twitter" />
</LinearLayout>

</LinearLayout>

</ScrollView>

OTP JAVA CODE -1.4


package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityOtpBinding;

public class otp extends AppCompatActivity {


ActivityOtpBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding=ActivityOtpBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(otp.this,thanksregister.class);
startActivity(intent);
}
});
}
}

OTP XML CODE -1.4

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:background="@drawable/gradiant"
android:orientation="vertical"
tools:context=".otp">

<ImageView
android:id="@+id/imageView5"
android:layout_width="wrap_content"
android:layout_height="350dp"
android:layout_gravity="center"
app:srcCompat="@drawable/otp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Enter OTP "
android:textSize="30dp"
android:textColor="@color/black"
android:textStyle="bold"
android:paddingLeft="20dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:text="Please enter the otp number"
android:padding="1dp"
android:textSize="20dp"
android:textColor="@color/black"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_marginTop="50dp"
android:orientation="horizontal">

<EditText
android:id="@+id/editTextNumber1"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:layout_marginLeft="10dp"
android:hint="0"
android:gravity="center"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber2"
android:layout_width="50dp"
android:padding="10dp"
android:hint="0"
android:gravity="center"
android:layout_height="50dp"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber3"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="0"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber4"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="0"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber5"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="0"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber6"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="1"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:inputType="number" />

</LinearLayout>
<TextView
android:id="@+id/forgotpass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Re-Send OTP"
android:textSize="20dp"
android:layout_marginBottom="20dp"
android:textColor="@color/black" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:backgroundTint="#2286D5"
android:text="Submit" />

</LinearLayout>
Forgot Password JAVA CODE -1.5

package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityForgotPasswordBinding;

public class ForgotPassword extends AppCompatActivity {


ActivityForgotPasswordBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding= ActivityForgotPasswordBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent= new Intent(ForgotPassword.this,otp.class);
startActivity(intent);

}
});

}
}

Forgot Password XML CODE -1.5


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#CCC9C9"
android:padding="20dp"
android:orientation="vertical"
tools:context=".ForgotPassword">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Forgot Password"
android:textSize="30dp"
android:layout_marginTop="30dp"
android:textColor="@color/black"
android:textStyle="bold"
android:gravity="center">
</TextView>

<EditText
android:id="@+id/firstname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:layout_marginBottom="10dp"
android:drawableLeft="@drawable/ic_baseline_perm_identity_24"
android:drawablePadding="20dp"
android:hint="Enter First Name"
android:inputType="text"
android:padding="20dp"
android:background="#60C190FD"
android:textColor="@color/black"
android:textColorHint="@color/black" />

<EditText
android:id="@+id/lastname"
android:layout_width="match_parent"
android:background="#60C190FD"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginBottom="10dp"
android:drawableLeft="@drawable/ic_baseline_perm_identity_24"
android:drawablePadding="20dp"
android:hint="Enter Last Name"
android:inputType="text"
android:padding="20dp"
android:textColor="@color/black"
android:textColorHint="@color/black" />

<EditText
android:id="@+id/mobile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#60C190FD"
android:layout_below="@id/username"
android:layout_marginTop="20dp"
android:layout_marginBottom="10dp"
android:drawableLeft="@drawable/ic_baseline_phone_24"
android:drawablePadding="20dp"
android:hint="Mobile"
android:inputType="phone"
android:padding="20dp"
android:textColor="@color/black"
android:textColorHint="@color/black" />

<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:textSize="18dp"
android:backgroundTint="#2286D5"
android:text="Get Otp" />

</LinearLayout>
OTP JAVA CODE -1.6
package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityOtpBinding;

public class otp extends AppCompatActivity {


ActivityOtpBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding=ActivityOtpBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(otp.this,thanksregister.class);
startActivity(intent);
}
});
}
}
OTP XML CODE -1.6

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:background="@drawable/gradiant"
android:orientation="vertical"
tools:context=".otp">

<ImageView
android:id="@+id/imageView5"
android:layout_width="wrap_content"
android:layout_height="350dp"
android:layout_gravity="center"
app:srcCompat="@drawable/otp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Enter OTP "
android:textSize="30dp"
android:textColor="@color/black"
android:textStyle="bold"
android:paddingLeft="20dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:text="Please enter the otp number"
android:padding="1dp"
android:textSize="20dp"
android:textColor="@color/black"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_marginTop="50dp"
android:orientation="horizontal">

<EditText
android:id="@+id/editTextNumber1"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:layout_marginLeft="10dp"
android:hint="0"
android:gravity="center"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber2"
android:layout_width="50dp"
android:padding="10dp"
android:hint="0"
android:gravity="center"
android:layout_height="50dp"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber3"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="0"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber4"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="0"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber5"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="0"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:ems="10"
android:inputType="number" />
<EditText
android:id="@+id/editTextNumber6"
android:layout_width="50dp"
android:padding="10dp"
android:layout_height="50dp"
android:hint="1"
android:gravity="center"
android:layout_marginLeft="10dp"
android:background="#70DCA7A7"
android:inputType="number" />

</LinearLayout>

<TextView
android:id="@+id/forgotpass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Re-Send OTP"
android:textSize="20dp"
android:layout_marginBottom="20dp"
android:textColor="@color/black" />
<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:backgroundTint="#2286D5"
android:text="Submit" />

</LinearLayout>

Splash Screen JAVA CODE -1.7

package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import com.example.easyfind.databinding.ActivityThanksregisterBinding;

public class thanksregister extends AppCompatActivity {


ActivityThanksregisterBinding binding;
private static int SPLASH_TIME_OUT = 4000 ;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding=ActivityThanksregisterBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

new Handler().postDelayed(new Runnable() {

@Override
public void run() {
Intent homeIntent = new Intent(thanksregister.this, MainActivity.class);
startActivity(homeIntent);
finish();
}

},SPLASH_TIME_OUT ) ;

}
}

Splash Screen XML CODE -1.7

<?xml version="1.0" encoding="utf-8"?>


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="40dp"
tools:context=".thanksregister">

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="91dp"

android:layout_marginStart="40dp"
android:layout_marginTop="40dp"
android:layout_marginEnd="40dp"
android:layout_marginBottom="0dp"
android:text="Thanks for Register....!!!!"
android:textColor="#573434"
android:textSize="35dp"
tools:layout_editor_absoluteX="155dp"
tools:layout_editor_absoluteY="284dp" />

<ImageView
android:id="@+id/imageView"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_below="@id/textView"
android:layout_marginLeft="50dp"
android:layout_marginTop="20dp"
app:srcCompat="@drawable/happiness" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_below="@id/textView"
android:layout_alignRight="@id/imageView"
android:layout_marginLeft="150dp"
android:layout_marginTop="20dp"
android:layout_marginRight="-59dp"
app:srcCompat="@drawable/happiness" />

<ImageView
android:id="@+id/imageView3"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_below="@id/textView"
android:layout_alignRight="@id/imageView2"
android:layout_marginLeft="150dp"
android:layout_marginTop="20dp"
android:layout_marginRight="-59dp"
app:srcCompat="@drawable/happiness" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_marginTop="30dp"
android:layout_height="wrap_content"
android:layout_below="@id/imageView3"
android:layout_marginLeft="60dp"
android:text="Please Wait...."
android:textColor="@color/black"
android:textSize="20dp"
/>
</RelativeLayout>

PreDashboard JAVA CODE -2.1


package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityPreDashbordBinding;

public class PreDashbord extends AppCompatActivity {


ActivityPreDashbordBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding= ActivityPreDashbordBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
binding.backbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
onBackPressed();
}
});

binding.dashboardbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(PreDashbord.this,Dashboard.class);
startActivity(intent);
}
});

binding.profilebtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(PreDashbord.this,Profile.class);
startActivity(intent);
}
});

}
}

PreDashboard XML CODE -2.1

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".PreDashbord"
android:background="#CEE1DADA"
android:padding="30dp"
android:orientation="vertical">

<ImageView
android:id="@+id/backbtn"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/ic_baseline_keyboard_backspace_24">
</ImageView>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="389dp"
android:layout_margin="20dp"
android:orientation="vertical"
android:gravity="center">

<LinearLayout
android:id="@+id/profilebtn"
android:layout_width="match_parent"
android:layout_height="188dp"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="125dp"
android:layout_height="125dp"
android:background="@drawable/profile"
android:layout_margin="10dp"
android:layout_gravity="center"
/>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Profile"
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="25sp"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:id="@+id/dashboardbtn"
android:layout_width="match_parent"
android:layout_height="188dp"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="125dp"
android:layout_gravity="center"
android:layout_height="125dp"
android:background="@drawable/dashboard"
android:layout_margin="10dp"
/>

<TextView
android:layout_width="match_parent"
android:layout_height="57dp"
android:text="Dashboard"

android:textAlignment="center"
android:textColor="@color/black"
android:textSize="25dp"
android:textStyle="bold" />
</LinearLayout>

</LinearLayout>
</LinearLayout>
Profile JAVA CODE -2.2

package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityProfileBinding;

public class Profile extends AppCompatActivity {


ActivityProfileBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = ActivityProfileBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.backbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
onBackPressed();
}
});
}
}

Profile XML CODE -2.2

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:background="@drawable/gradiant"
android:layout_height="match_parent"
tools:context=".Profile"
android:orientation="vertical">

<RelativeLayout
android:id="@+id/headtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="Profile"
android:textColor="@color/black"
android:textSize="35dp"
android:textStyle="bold" />

<ImageView
android:id="@+id/backbtn"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/ic_baseline_keyboard_backspace_24"/>

</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_marginBottom="20dp"
android:background="#40A4EDE6"
android:id="@+id/profileview">

<ImageView
android:id="@+id/profile_pic"
android:layout_width="120dp"
android:layout_height="120dp"
android:layout_marginLeft="15dp"
android:layout_centerVertical="true"
android:background="@drawable/profilepic"/>

<TextView
android:id="@+id/full_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_toRightOf="@+id/profile_pic"
android:fontFamily="casual"
android:text="Pawan Kumar"
android:textColor="#111112"
android:textSize="30dp"
android:textStyle="bold|italic"/>

</RelativeLayout>

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

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:hint="Full Name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Pawan Kumar"
android:drawableLeft="@drawable/ic_baseline_perm_identity_24"
android:drawablePadding="10dp">
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:hint="Email">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="pawan2017cht@gmail.com"
android:drawableLeft="@drawable/ic_baseline_email_black_24"
android:drawablePadding="10dp">
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:hint="Phone Number">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="6207198386"
android:drawableLeft="@drawable/ic_mobile"
android:drawablePadding="10dp">
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:hint="Password"
android:background="">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Pawan12345@"
android:drawableLeft="@drawable/ic_baseline_lock_24"
android:drawablePadding="10dp">
</com.google.android.material.textfield.TextInputEditText>
</com.google.android.material.textfield.TextInputLayout>

<com.google.android.material.button.MaterialButton
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Update"
android:textColor="#0E0E0E"
android:backgroundTint="#089A8C"/>

</LinearLayout>

</LinearLayout>
Dashboard JAVA CODE -3.1

package com.example.easyfind;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.example.easyfind.databinding.ActivityDashboardBinding;
import com.example.easyfind.education.CollegeListActivity;
import com.example.easyfind.foodcorner.FoodDashboard;
import com.example.easyfind.foodcorner.Food_List;
import com.example.easyfind.health.PatientResult;
import com.example.easyfind.library.library;

public class Dashboard extends AppCompatActivity {

ActivityDashboardBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding= ActivityDashboardBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.educationLL.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent=new Intent(Dashboard.this, CollegeListActivity.class);
startActivity(intent);
}
});

binding.backbtn1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
onBackPressed();
}
});
binding.health.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent= new Intent(Dashboard.this, PatientResult.class);
startActivity(intent);
}
});

binding.libraryLL.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(Dashboard.this, library.class);
startActivity(intent);
}
});

binding.foodbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent=new Intent(Dashboard.this, Food_List.class);
startActivity(intent);
}
});

}
}

Dashboard XML CODE -3.1

<?xml version="1.0" encoding="utf-8"?>


<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#60CCC9C9"
android:orientation="vertical"
tools:context=".Dashboard">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"

android:padding="20dp">

<ImageView
android:id="@+id/backbtn1"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginBottom="30dp"
android:background="@drawable/ic_baseline_keyboard_backspace_24"></ImageView>

<LinearLayout
android:layout_below="@+id/backbtn1"
android:id="@+id/first"
android:layout_width="match_parent"
android:layout_height="597dp"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">

<LinearLayout
android:id="@+id/education_LL"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="10dp"
android:background="@drawable/presentation" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Education"
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:id="@+id/library_LL"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="10dp"
android:background="@drawable/library" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Library"
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">

<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="10dp"
android:background="@drawable/rent" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Rent"

android:textAlignment="center"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:id="@+id/health"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="10dp"
android:background="@drawable/heartbeat" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Health"
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>

</LinearLayout>
<LinearLayout

android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"

android:orientation="horizontal">

<LinearLayout
android:id="@+id/foodbtn"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="10dp"
android:background="@drawable/restaurant" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Food Corner"
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>

<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_margin="2dp"
android:layout_weight="1"
android:background="@drawable/border"
android:orientation="vertical">

<ImageView
android:layout_width="match_parent"
android:layout_height="130dp"
android:layout_margin="10dp"
android:background="@drawable/yoga" />

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Physical"
android:textAlignment="center"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
</LinearLayout>

</LinearLayout>

</LinearLayout>
</RelativeLayout>

</ScrollView>

Education Java CODE -4.1


package com.example.easyfind.education;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.example.easyfind.R;
import com.example.easyfind.common.Common;
import com.example.easyfind.common.Constants;
import java.util.ArrayList;
import java.util.LinkedHashSet;

public class CollegeListActivity extends AppCompatActivity {


private ArrayList<String> recentSearchList= new ArrayList<>();
private ArrayList<SearchModel> searchesList = new ArrayList<>();
private RelativeLayout search_layout, country_layout;
private GridView lvList;
private Common common;
private SearchAdapter recentSeachAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_college_list);
lvList = findViewById(R.id.lvList);
setDataOnAdapter();
}
private void setDataOnAdapter() {
try {
recentSearchList.add("MCA
Dept==>5b67253018ffa3223cd80d13==>amit2amit@gmail.com==>Best in Computer
feculties==>123654987==>0==>0==>Sindur road Patna, Jharkhand===>amit@gmail.com");
recentSearchList.add("Vinoba Bhave
University==>5b67253018ffa3223cd80d13==>satyendrak17@gmail.com==>Best in physics
feculties==>8695761653==>0==>0==>Hazaribaag road Patna,
Jharkhand===>satyendrak17@gmail.com");
recentSearchList.add("MCA
Dept==>5b67253018ffa3223cd80d13==>amit2amit@gmail.com==>Best in Computer
feculties==>123654987==>0==>0==>Sindur road Patna, Jharkhand===>amit@gmail.com");
recentSearchList.add("MBA
Dept==>5b67253018ffa3223cd80d13==>amit2amit@gmail.com==>Best in Computer
feculties==>123654987==>0==>0==>Sindur road Patna, Jharkhand===>amit@gmail.com");
recentSearchList.add("Markham College
Dept==>5b67253018ffa3223cd80d13==>amit2amit@gmail.com==>Best in Computer
feculties==>123654987==>0==>0==>Sindur road Patna, Jharkhand===>amit@gmail.com");
recentSearchList.add("Ananda College
Dept==>5b67253018ffa3223cd80d13==>amit2amit@gmail.com==>Best in Computer
feculties==>123654987==>0==>0==>Ananda chok, Jharkhand===>amit@gmail.com");
for (int i = 0; i < recentSearchList.size(); i++) {
String arr[] = recentSearchList.get(i).split("==>");

String Name = arr[0];


String InstituteId = arr[1];
String Org_email_id = arr[2];
String Speciality = arr[3];
String Contact_number = arr[4];
String Latitude = arr[5];
String Longitude = arr[6];
String address1 = arr[7];
String userID_Institute = arr[8];

SearchModel searchModel = new SearchModel();


searchModel.setContact_number(Contact_number);
searchModel.setOrg_email_id(Org_email_id);
searchModel.setOrg_name(Name);
searchModel.setSpeciality(Speciality);
searchModel.setLongitude(Longitude);
searchModel.setLatitude(Latitude);
searchModel.setAddress1(address1);
searchModel.setInstituteId(InstituteId);
searchModel.setUserID_Institute(userID_Institute);
searchesList.add(searchModel);
}
LinkedHashSet<SearchModel> searchList = new LinkedHashSet<SearchModel>();
searchList.addAll(searchesList);
ArrayList<SearchModel> alist = new ArrayList<>();
alist.addAll(searchList);
String defaultDt="";
if(alist.size()==0) {
defaultDt = "Vinoba Bhave
University==>5b67253018ffa3223cd80d13==>satyendrak17@gmail.com==>Best in physics
feculties==>8695761653==>0==>0==>Hazaribaag road Patna,
Jharkhand===>satyendrak17@gmail.com";
String arr[] = defaultDt.split("==>");

String Name = arr[0];


String InstituteId = arr[1];
String Org_email_id = arr[2];
String Speciality = arr[3];
String Contact_number = arr[4];
String Latitude = arr[5];
String Longitude = arr[6];
String address1 = arr[7];
String userID_Institute = arr[8];

SearchModel searchModel = new SearchModel();


searchModel.setContact_number(Contact_number);
searchModel.setOrg_email_id(Org_email_id);
searchModel.setOrg_name(Name);
searchModel.setSpeciality(Speciality);
searchModel.setLongitude(Longitude);
searchModel.setLatitude(Latitude);
searchModel.setAddress1(address1);
searchModel.setInstituteId(InstituteId);
searchModel.setUserID_Institute(userID_Institute);
searchesList.add(searchModel);
alist.addAll(searchesList);

}
recentSeachAdapter = new SearchAdapter(this, alist);
lvList.setAdapter(recentSeachAdapter);

} catch (Exception e) {
e.printStackTrace();
}
}

private class SearchAdapter extends BaseAdapter {


Context context;
ArrayList<SearchModel> searchedList;
LayoutInflater inflater;

public SearchAdapter(Context context, ArrayList<SearchModel> searchResultList) {


this.context = context;
this.searchedList = searchResultList;
inflater = (LayoutInflater)
context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}

@Override
public int getCount() {
return searchedList.size();
}

@Override
public Object getItem(int position) {
return searchedList.get(position);
}

@Override
public long getItemId(int position) {
return position;
}

@Override
public View getView(final int position, View convertView, ViewGroup parent) {
SearchAdapter.ViewHolder1 viewHolder = null;

if (convertView == null) {
convertView = inflater.inflate(R.layout.row_home_tiles, null);
viewHolder = new SearchAdapter.ViewHolder1();
convertView.setTag(viewHolder);
} else {
viewHolder = (SearchAdapter.ViewHolder1) convertView.getTag();
}
viewHolder.lineView = convertView.findViewById(R.id.lineView);
viewHolder.lineView.setVisibility(View.VISIBLE);

try {
viewHolder.typeImage = convertView.findViewById(R.id.typeImage);
viewHolder.recentSearchItem =
convertView.findViewById(R.id.recentSearchItem);
viewHolder.mainlay = convertView.findViewById(R.id.mainlay);

} catch (Exception e) {
e.printStackTrace();
}

viewHolder.recentSearchItem.setText(searchedList.get(position).getOrg_name());
final String recentdataName = searchedList.get(position).getOrg_name();
viewHolder.recentSearchItem.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

Intent it = new Intent(context, CollegeDetailsActivity.class);


it.putExtra(Constants.image_url,
searchedList.get(position).getImage_url());
it.putExtra(Constants.org_email_id,
searchedList.get(position).getOrg_email_id());
it.putExtra(Constants.org_name,
searchedList.get(position).getOrg_name());
it.putExtra(Constants.speciality,
searchedList.get(position).getSpeciality());
it.putExtra(Constants.contact_number,
searchedList.get(position).getContact_number());
it.putExtra(Constants.description,
searchedList.get(position).getImage_url());
it.putExtra(Constants.latitude,
searchedList.get(position).getLatitude());
it.putExtra(Constants.longitude,
searchedList.get(position).getLongitude());
it.putExtra(Constants.service_catagory_main,
searchedList.get(position).getImage_url());
it.putExtra(Constants.service_catagory_sub,
searchedList.get(position).getImage_url());
it.putExtra(Constants.INSTITUTE_ID,
searchedList.get(position).getInstituteId());
it.putExtra(Constants.userID_Institute,
searchedList.get(position).getUserID_Institute());
startActivity(it);
}
});
return convertView;
}

public class ViewHolder1 {


TextView recentSearchItem;
RelativeLayout mainlay;
View lineView;
ImageView typeImage;

}
}

Education XML CODE -4.1


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white">

<RelativeLayout
android:id="@+id/top_layout"
android:layout_width="match_parent"
android:visibility="visible"
android:layout_height="wrap_content"
android:background="@color/colorPrimary">

<RelativeLayout
android:id="@+id/location"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="7dp"
android:orientation="vertical"
android:paddingLeft="5dp"
android:paddingRight="5dp">

<LinearLayout
android:id="@+id/toplayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:orientation="vertical">

<RelativeLayout
android:id="@+id/country_layout"
android:layout_width="130dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical">

<TextView
android:id="@+id/cityName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/arrow"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="Ranchi"
android:textColor="#fff"
android:textSize="14dp" />

<ImageView
android:id="@+id/arrow"
android:layout_width="14dp"
android:layout_height="18dp"
android:layout_alignParentRight="true"
android:layout_gravity="bottom"
android:layout_marginLeft="3dp"
android:background="@drawable/drop_icon_white" />

</RelativeLayout>

<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@+id/search"
android:layout_gravity="bottom"
android:background="#d3d3d3" />
</LinearLayout>
<ImageView
android:id="@+id/qr_icon"
android:layout_width="30dp"
android:padding="3dp"
android:layout_toLeftOf="@+id/notification_icon"
android:layout_height="30dp"
android:src="@drawable/ic_qr" />

<ImageView
android:id="@+id/notification_icon"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_alignParentRight="true"
android:padding="3dp"
android:src="@drawable/ic_notificatio" />

</RelativeLayout>

<RelativeLayout
android:id="@+id/search_layout"
android:layout_width="match_parent"
android:layout_height="35dp"
android:layout_below="@+id/location"
android:layout_marginBottom="8dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_marginTop="8dp"
android:background="@drawable/border1"
android:gravity="center_vertical">

<ImageView
android:id="@+id/search_icon"
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_alignParentLeft="true"
android:layout_centerInParent="true"
android:layout_marginLeft="15dp"
android:background="@drawable/search_icon"
android:padding="10dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="15dp"
android:layout_toRightOf="@+id/search_icon"
android:gravity="center"
android:text="search here" />
</RelativeLayout>
<RelativeLayout
android:layout_width="30dp"
android:background="@drawable/rounded_btn"
android:layout_alignParentRight="true"
android:layout_toRightOf="@+id/search_layout"
android:layout_height="30dp">

</RelativeLayout>

</RelativeLayout>

<ImageView
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_below="@+id/top_layout"
android:background="@drawable/college" />

<GridView
android:id="@+id/lvList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/viewPager"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:numColumns="3"
android:padding="8dp"
android:visibility="visible">
</GridView>

</RelativeLayout>

Education XML CODE -4.1.1


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mainlay"
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<RelativeLayout
android:id="@+id/mainlay1"
android:layout_width="130dp"
android:elevation="10dp"
android:background="@drawable/list_border"
android:layout_centerInParent="true"
android:layout_height="130dp"
android:layout_margin="3dp">

<ImageView
android:id="@+id/typeImage"
android:layout_width="30dp"
android:layout_height="30dp"
android:background="@drawable/ic_school"
android:layout_centerVertical="true"
android:visibility="gone" />

<TextView
android:id="@+id/recentSearchItem"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:inputType="textMultiLine"
android:padding="5dp"
android:text="Collage Name"
android:textColor="@color/black"
android:textSize="16dp" />

<View
android:id="@+id/lineView"
android:layout_width="match_parent"
android:layout_height="0.8dp"
android:layout_below="@+id/recentSearchItem"
android:background="@color/purple_700" />
</RelativeLayout>
</RelativeLayout>
Education XML CODE -4.1.2

package com.example.easyfind.education;

public class SearchModel {


public String getAddress1() {
return address1;
}

public void setAddress1(String address1) {


this.address1 = address1;
}

public String getAddress2() {


return address2;
}

public void setAddress2(String address2) {


this.address2 = address2;
}

public String getLandmark() {


return landmark;
}

public void setLandmark(String landmark) {


this.landmark = landmark;
}

public String getCity_town() {


return city_town;
}

public void setCity_town(String city_town) {


this.city_town = city_town;
}

public String getState_region() {


return state_region;
}

public void setState_region(String state_region) {


this.state_region = state_region;
}

public String getZip_code() {


return zip_code;
}

public void setZip_code(String zip_code) {


this.zip_code = zip_code;
}

public String getUserID_Institute() {


return userID_Institute;
}

public void setUserID_Institute(String userID_Institute) {


this.userID_Institute = userID_Institute;
}

public String getInstituteId() {


return instituteId;
}

public void setInstituteId(String instituteId) {


this.instituteId = instituteId;
}

public String getAlternate_number() {


return alternate_number;
}

public void setAlternate_number(String alternate_number) {


this.alternate_number = alternate_number;
}

String
userID_Institute,instituteId,org_name,address1,address2,landmark,city_town,state_region,z
ip_code;
String
image_url,alternate_number,contact_number,description,latitude,longitude,service_catagory
_main,service_catagory_sub;

public String getContact_number() {


return contact_number;
}

public void setContact_number(String contact_number) {


this.contact_number = contact_number;
}

public String getDescription() {


return description;
}

public void setDescription(String description) {


this.description = description;
}

public String getLatitude() {


return latitude;
}

public void setLatitude(String latitude) {


this.latitude = latitude;
}

public String getLongitude() {


return longitude;
}

public void setLongitude(String longitude) {


this.longitude = longitude;
}

public String getService_catagory_main() {


return service_catagory_main;
}

public void setService_catagory_main(String service_catagory_main) {


this.service_catagory_main = service_catagory_main;
}

public String getService_catagory_sub() {


return service_catagory_sub;
}

public void setService_catagory_sub(String service_catagory_sub) {


this.service_catagory_sub = service_catagory_sub;
}

public String getSpeciality() {


return speciality;
}

public void setSpeciality(String speciality) {


this.speciality = speciality;
}

String org_email_id,speciality;

public String getItemName() {


return itemName;
}

public void setItemName(String itemName) {


this.itemName = itemName;
}

String itemName;

public String getOrg_name() {


return org_name;
}

public void setOrg_name(String org_name) {


this.org_name = org_name;
}

public String getImage_url() {


return image_url;
}

public void setImage_url(String image_url) {


this.image_url = image_url;
}

public String getOrg_email_id() {


return org_email_id;
}

public void setOrg_email_id(String org_email_id) {


this.org_email_id = org_email_id;
}

public SearchModel(String itemName) {


this.itemName = itemName;
}

public SearchModel() {
}
}
Education Java CODE -4.2
package com.example.easyfind.education;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.Nullable;
import com.example.easyfind.R;
import com.example.easyfind.common.Common;
import com.example.easyfind.common.Constants;

public class CollegeDetailsActivity extends BaseActivity {


String image_url, speciality, org_name, org_email_id, description, latitude,
longitude, service_catagory_main, service_catagory_sub, INSTITUTE_ID,
userID_Institute;
String contact_number = "999997997";
private ImageView banner_mg;
private RelativeLayout call_Rl, location_Rl, rating_Rl;
private Button enroll_btn;
private Common common;
private TextView batchtv, services, contactus, test;

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.business_detail);
common = Common.getNewInstance(this);
banner_mg = findViewById(R.id.banner_mg);
call_Rl = findViewById(R.id.call_Rl);
location_Rl = findViewById(R.id.location_Rl);
rating_Rl = findViewById(R.id.rating_Rl);
enroll_btn = findViewById(R.id.enroll_btn);
batchtv = findViewById(R.id.batchtv);
services = findViewById(R.id.services);
test = findViewById(R.id.test);

image_url = getIntent().getStringExtra(Constants.image_url);
org_email_id = getIntent().getStringExtra(Constants.org_email_id);
org_name = getIntent().getStringExtra(Constants.org_name);
speciality = getIntent().getStringExtra(Constants.speciality);
contact_number = getIntent().getStringExtra(Constants.contact_number);
description = getIntent().getStringExtra(Constants.description);
latitude = getIntent().getStringExtra(Constants.latitude);
longitude = getIntent().getStringExtra(Constants.longitude);
service_catagory_main =
getIntent().getStringExtra(Constants.service_catagory_main);
service_catagory_sub =
getIntent().getStringExtra(Constants.service_catagory_sub);
INSTITUTE_ID = getIntent().getStringExtra(Constants.INSTITUTE_ID);
userID_Institute = getIntent().getStringExtra(Constants.org_email_id);
TextView name = findViewById(R.id.name);
TextView address = findViewById(R.id.address);
TextView specility_tv = findViewById(R.id.specility_tv);
TextView rating_tv = findViewById(R.id.rating_tv);
name.setText(org_name);
address.setText(speciality);

enroll_btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
if (common.isNetworkAvailable()) {
subscribeInstitute();
} else {
common.showShortToast(R.string.check_internet);
}
}
});
batchtv.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

}
});
services.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

}
});
call_Rl.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
String dial = "tel:" + contact_number;
startActivity(new Intent(Intent.ACTION_DIAL, Uri.parse(dial)));

}
});
test.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
common.showLongToast("Test");
}
});
location_Rl.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

}
});

private void subscribeInstitute() {


common.showLongToast("U have Subscribed successfully !!!");
}

}
Education XML CODE -4.2

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/purple_200"
android:orientation="vertical">

<ScrollView
android:id="@+id/scrollview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none">

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

<ImageView
android:id="@+id/banner_mg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="@drawable/college"
android:scaleType="centerCrop" />

<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/grey_color" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">

<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="Delhi University"
android:textColor="@color/grey_color"
android:textSize="19dp"
android:textStyle="bold" />

<TextView
android:id="@+id/address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/name"
android:layout_centerHorizontal="true"
android:layout_marginBottom="0dp"
android:text="Bagodar,Giridih,Jharkhand"
android:textColor="@color/grey_color"
android:textSize="14dp" />

<TextView
android:id="@+id/specility_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/address"
android:layout_centerHorizontal="true"
android:layout_marginBottom="0dp"
android:textColor="@color/grey_color"
android:text="Physics, Chemestry"
android:textStyle="bold"
android:textSize="17dp" />

</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">

<RelativeLayout
android:id="@+id/call_Rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp">

<ImageView
android:id="@+id/mobile_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_mobile" />

<TextView
android:id="@+id/mobile_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/mobile_icon"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="Call"
android:textColor="@color/white"
android:textSize="14dp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/location_Rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:padding="10dp">

<ImageView
android:id="@+id/location_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_location" />

<TextView
android:id="@+id/location_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/location_icon"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="Direction"
android:textColor="@color/white"
android:textSize="14dp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/rating_Rl"
android:layout_width="wrap_content"
android:padding="10dp"
android:layout_alignParentEnd="true"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/rating_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_rateing" />
<TextView
android:id="@+id/rating_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@+id/rating_icon"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="4.0"
android:textColor="@color/white"
android:textSize="16dp" />
</RelativeLayout>
</RelativeLayout>
<Button
android:id="@+id/enroll_btn"
android:background="@drawable/rounded_btn"
android:layout_width="wrap_content"
android:layout_marginTop="5dp"
android:text="Subscribe"
android:textSize="18dp"
android:textColor="@color/white"
android:layout_gravity="center"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginTop="10dp"
android:background="@color/cardview_light_background" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:id="@+id/notice"
android:layout_width="150dp"
android:layout_height="70dp"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:background="@drawable/edit_text_style"
android:gravity="center"
android:singleLine="true"
android:text="Notice"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/batchtv"
android:layout_width="150dp"
android:layout_alignParentEnd="true"
android:singleLine="true"
android:background="@drawable/edit_text_style"
android:text="Batch"
android:layout_margin="10dp"
android:textColor="@color/white"
android:gravity="center"
android:textSize="16sp"
android:layout_height="70dp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/services"
android:layout_width="150dp"
android:singleLine="true"
android:background="@drawable/edit_text_style"
android:text="Service"
android:textColor="@color/white"
android:layout_margin="10dp"
android:gravity="center"
android:textSize="16sp"
android:layout_height="70dp" />

<TextView
android:id="@+id/contactus"
android:layout_width="150dp"
android:layout_alignParentEnd="true"
android:singleLine="true"
android:background="@drawable/edit_text_style"
android:text="Contact Us"
android:textColor="@color/white"
android:layout_margin="10dp"
android:gravity="center"
android:textSize="16sp"
android:layout_height="70dp" />
</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<TextView
android:id="@+id/test"
android:layout_width="150dp"
android:layout_height="70dp"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:background="@drawable/edit_text_style"
android:gravity="center"
android:singleLine="true"
android:text="OnLine Test"
android:textColor="@color/white"
android:textSize="16sp" />

<TextView
android:id="@+id/events"
android:layout_width="150dp"
android:layout_alignParentEnd="true"
android:singleLine="true"
android:background="@drawable/edit_text_style"
android:text="Event"
android:textColor="@color/white"
android:layout_margin="10dp"
android:gravity="center"
android:textSize="16sp"
android:layout_height="70dp" />
</RelativeLayout>

</LinearLayout>
</ScrollView>
</LinearLayout>

Education XML CODE -4.2.1

package com.example.easyfind.education;

import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.os.Bundle;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
import com.example.easyfind.R;

public class BaseActivity extends AppCompatActivity {

private ProgressDialog dialog;

protected Dialog dialogAlert;


protected Dialog loadDialog = null;
ProgressDialog progressDialog;
FragmentManager fragmentManager;
FragmentTransaction ft;

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
dialog = new ProgressDialog(this);
dialog.setTitle("");
dialog.setMessage("Please wait...");
dialog.setIndeterminate(true);
}

public void showProgressDialog(){


dialog.show();
}

public void dismissProgressDialog(){


dialog.dismiss();
}

protected void showSpinner(Context context) {


if (loadDialog != null) {
if (loadDialog.isShowing())
loadDialog.dismiss();
}

loadDialog.setContentView(R.layout.spinner_rotate);
loadDialog.setCanceledOnTouchOutside(false);
loadDialog.setCancelable(false);

ImageView ivLoader = (ImageView) loadDialog.findViewById(R.id.ivSpinner);


loadDialog.show();
}

protected void hideSpinner() {


if (loadDialog != null && loadDialog.isShowing())
loadDialog.dismiss();
}
}
Library Java CODE -5.1

package com.example.easyfind.library;

import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.easyfind.databinding.ActivityLibraryBinding;

public class library extends AppCompatActivity {


ActivityLibraryBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = ActivityLibraryBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

binding.first.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent= new Intent(library.this, LibraryDetailsActivity.class);
startActivity(intent);
}
});

}
}

Library XML CODE -5.1


<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/purple_200"
tools:context=".library.library">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="30dp">

<LinearLayout

android:id="@+id/searchViewId"
android:layout_width="match_parent"
android:layout_height="55dp"
android:layout_alignParentTop="true"
android:background="#ADAFCDF3"
android:orientation="horizontal">
<ImageButton
android:id="@+id/imageBtn1"
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="15dp"
android:backgroundTint="#00548EF3"
app:srcCompat="@drawable/ic_baseline_menu_24" />

<EditText
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height="38dp"
android:layout_gravity="center_vertical"
android:layout_margin="20dp"
android:paddingLeft="10dp"
android:layout_marginEnd="10dp"
android:layout_weight="8"
android:background="#30ffffff"
android:hint="Search Your Library">

</EditText>

<ImageButton
android:id="@+id/bellIcon"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="15dp"
android:layout_weight="1"
android:background="#00548EF3"
android:src="@drawable/ic_notificatio">

</ImageButton>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/searchViewId"
android:layout_margin="5dp"
android:gravity="center"
android:orientation="vertical">

<androidx.cardview.widget.CardView
android:id="@+id/first"
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="15dp"
app:cardElevation="10dp">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/college" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="₹ 200/Month"
android:textColor="@color/black"
android:textStyle="bold"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="2x2 chamber With Chair And Fan"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="Location Annada Chowk Grugobind Singh Road,hzb"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:text="Registation Fee 300 rs at a First Time "
android:textColor="@color/black"
android:textSize="10dp"
android:textStyle="bold"/>

</LinearLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="15dp"
app:cardElevation="10dp">

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

<ImageView
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/ic_school" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="₹ 300/Month"
android:textColor="@color/black"
android:textStyle="bold"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="2x2 chamber With Chair, Fan and AC"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="Location of sindoor near to Royal infield
showroom,Hzb"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:text="Registation Fee 300 rs at a First Time "
android:textColor="@color/black"
android:textSize="10dp"
android:textStyle="bold"/>

</LinearLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="15dp"
app:cardElevation="10dp">

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

<ImageView
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/library" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="₹ 400/Month"
android:textColor="@color/black"
android:textStyle="bold"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="individual cabin With Chair, Fan and AC"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="Location of jhinjhariya pull,hzb"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:text="Registation Fee 300 rs at a First Time "
android:textColor="@color/black"
android:textSize="10dp"
android:textStyle="bold"/>

</LinearLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="15dp"
app:cardElevation="10dp">

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

<ImageView
android:layout_width="wrap_content"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/library_building" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="₹ 350/Month"
android:textColor="@color/black"
android:textStyle="bold"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="2x3 chamber With Chair, Fan and AC"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="Location of gandhi maidan, near to Aisect
university,Hzb"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:text="Registation Fee 300 rs at a First Time "
android:textColor="@color/black"
android:textSize="10dp"
android:textStyle="bold"/>

</LinearLayout>

</androidx.cardview.widget.CardView>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="15dp"
app:cardElevation="10dp">

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

<ImageView
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/library_house" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="₹ 300/Month"
android:textColor="@color/black"
android:textStyle="bold"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="5dp"
android:text="2x2 chamber With Chair and Fan"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="Location of korrah road,hzb"
android:textSize="13dp" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="10dp"
android:text="Registation Fee 300 rs at a First Time "
android:textColor="@color/black"
android:textSize="10dp"
android:textStyle="bold"/>

</LinearLayout>

</androidx.cardview.widget.CardView>

</LinearLayout>

</RelativeLayout>
</ScrollView>
Library Java CODE -5.2
package com.example.easyfind.library;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import com.example.easyfind.databinding.ActivityLibraryDetailsBinding;

public class LibraryDetailsActivity extends AppCompatActivity {


ActivityLibraryDetailsBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding=ActivityLibraryDetailsBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());
}
}

Library XML CODE -5.2


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/purple_200"
tools:context=".library.LibraryDetailsActivity">

<ScrollView
android:id="@+id/scrollview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none">

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

<ImageView
android:id="@+id/banner_mg"
android:layout_width="match_parent"
android:layout_height="250dp"
android:adjustViewBounds="true"
android:background="@drawable/libraryimage1"
android:scaleType="centerCrop" />

<View
android:layout_width="match_parent"
android:layout_height="3dp"
android:background="@color/grey_color" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">

<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="Library"
android:textColor="@color/grey_color"
android:textSize="19dp"
android:textStyle="bold" />

<TextView
android:id="@+id/address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/name"
android:layout_centerHorizontal="true"
android:layout_marginBottom="0dp"
android:text="Location Annada Chowk Grugobind Singh Road,hzb"
android:textColor="@color/grey_color"
android:textSize="14dp" />

<TextView
android:id="@+id/specility_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/address"
android:layout_centerHorizontal="true"
android:layout_marginBottom="0dp"
android:text="Competitive Books Available"
android:textColor="@color/grey_color"
android:textSize="17dp"
android:textStyle="bold" />

</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">

<RelativeLayout
android:id="@+id/call_Rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp">

<ImageView
android:id="@+id/mobile_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_mobile" />

<TextView
android:id="@+id/mobile_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/mobile_icon"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="Call"
android:textColor="@color/white"
android:textSize="14dp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/location_Rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:padding="10dp">

<ImageView
android:id="@+id/location_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_location" />

<TextView
android:id="@+id/location_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/location_icon"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="Direction"
android:textColor="@color/white"
android:textSize="14dp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/rating_Rl"
android:layout_width="wrap_content"
android:padding="10dp"
android:layout_alignParentEnd="true"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/rating_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_rateing" />
<TextView
android:id="@+id/rating_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@+id/rating_icon"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="4.0"
android:textColor="@color/white"
android:textSize="16dp" />
</RelativeLayout>
</RelativeLayout>
<Button
android:id="@+id/enroll_btn"
android:background="@drawable/rounded_btn"
android:layout_width="wrap_content"
android:layout_marginTop="5dp"
android:text="Subscribe"
android:textSize="18dp"
android:textColor="@color/white"
android:layout_gravity="center"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginTop="10dp"
android:background="@color/cardview_light_background" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="15dp"
android:paddingStart="15dp">

<TextView
android:id="@+id/notice"
android:layout_width="150dp"
android:layout_height="70dp"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="10dp"
android:background="@drawable/edit_text_style"
android:gravity="center"
android:singleLine="true"
android:text="Notice"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/batchtv"
android:layout_width="150dp"
android:layout_alignParentEnd="true"
android:singleLine="true"
android:background="@drawable/edit_text_style"
android:text="Batch"
android:layout_margin="10dp"
android:textColor="@color/white"
android:gravity="center"
android:textSize="16sp"
android:layout_height="70dp" />
</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="15dp"
android:paddingStart="15dp"
android:id="@+id/below">
<TextView
android:id="@+id/services"
android:layout_width="150dp"
android:singleLine="true"
android:background="@drawable/edit_text_style"
android:text="Service"
android:textColor="@color/white"
android:layout_margin="10dp"
android:gravity="center"
android:textSize="16sp"
android:layout_height="70dp" />

<TextView
android:id="@+id/test"
android:layout_width="150dp"
android:layout_height="70dp"
android:layout_alignParentRight="true"
android:layout_margin="10dp"
android:background="@drawable/edit_text_style"
android:gravity="center"
android:singleLine="true"
android:text="OnLine Test"
android:textColor="@color/white"
android:textSize="16sp" />

</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/notification">

<include
android:id="@+id/include"
layout="@layout/notice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"

tools:layout_editor_absoluteX="-16dp" />

</RelativeLayout>

</LinearLayout>
</ScrollView>

</LinearLayout>
Food Corner Java CODE -6.1
package com.example.easyfind.foodcorner;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.example.easyfind.R;
import com.example.easyfind.education.BaseActivity;

public class Food_List extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_food_list);
}

class FoodList extends BaseAdapter {

@Override
public int getCount() {
return 0;
}
@Override
public Object getItem(int position) {
return null;
}

@Override
public long getItemId(int position) {
return 0;
}

@Override
public View getView(int position, View convertView, ViewGroup parent) {

return null;
}
}
}

Food Corner XML CODE -6.1

<?xml version="1.0" encoding="utf-8"?>


<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/drop_icon_white">

<LinearLayout

android:id="@+id/searchViewId"
android:layout_width="match_parent"
android:layout_height="55dp"
android:layout_alignParentTop="true"
android:background="#ADAFCDF3"
android:orientation="horizontal">

<ImageButton
android:id="@+id/imageBtn1"
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="15dp"
android:backgroundTint="#00548EF3"
app:srcCompat="@drawable/ic_baseline_menu_24" />

<EditText
android:id="@+id/searchView"
android:layout_width="match_parent"
android:layout_height="38dp"
android:layout_gravity="center_vertical"
android:layout_margin="20dp"
android:paddingLeft="10dp"
android:layout_marginEnd="10dp"
android:layout_weight="8"
android:background="#30ffffff"
android:hint="Search Your Food">
</EditText>

<ImageButton
android:id="@+id/bellIcon"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="15dp"
android:layout_weight="1"
android:background="#00548EF3"
android:src="@drawable/ic_notificatio">

</ImageButton>

</LinearLayout>

<ListView
android:layout_below="@+id/searchViewId"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>

Food Corner Java CODE -6.2


package com.example.easyfind.foodcorner;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.example.easyfind.R;

public class FoodDetails extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_food_details);
}
}

Food Corner XML CODE -6.2


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/purple_200"
tools:context=".foodcorner.FoodDetails">

<ScrollView
android:id="@+id/scrollview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="3dp"
android:scrollbars="none">

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

<ImageView
android:id="@+id/banner_mg"
android:layout_width="match_parent"
android:layout_height="250dp"
android:adjustViewBounds="true"
android:background="@drawable/dhosa"
android:scaleType="centerCrop" />

<View
android:layout_width="match_parent"
android:layout_height="3dp"
android:background="@color/grey_color" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">

<TextView
android:id="@+id/restoname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="A K International"
android:textColor="@color/grey_color"
android:textSize="19dp"
android:textStyle="bold" />

<TextView
android:id="@+id/restoaddress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/restoname"
android:layout_centerHorizontal="true"
android:layout_marginBottom="0dp"
android:text="Location Near Gandhi Maidan, HZB"
android:textColor="@color/grey_color"
android:textSize="14dp" />

<TextView
android:id="@+id/foodname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/restoaddress"
android:layout_centerHorizontal="true"
android:layout_marginBottom="0dp"
android:text="Paneer Masala"
android:textColor="@color/grey_color"
android:textSize="17dp"
android:textStyle="bold" />

</RelativeLayout>

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp">

<RelativeLayout
android:id="@+id/call_Rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp">

<ImageView
android:id="@+id/mobile_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_mobile" />

<TextView
android:id="@+id/mobile_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/mobile_icon"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="Call"
android:textColor="@color/white"
android:textSize="14dp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/location_Rl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:padding="10dp">

<ImageView
android:id="@+id/location_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_location" />

<TextView
android:id="@+id/location_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/location_icon"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="Direction"
android:textColor="@color/white"
android:textSize="14dp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/rating_Rl"
android:layout_width="wrap_content"
android:padding="10dp"
android:layout_alignParentEnd="true"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/rating_icon"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="10dp"
android:background="@drawable/ic_rateing" />
<TextView
android:id="@+id/rating_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@+id/rating_icon"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="0dp"
android:text="4.0"
android:textColor="@color/white"
android:textSize="16dp" />
</RelativeLayout>
</RelativeLayout>
<Button
android:id="@+id/enroll_btn"
android:background="@drawable/rounded_btn"
android:layout_width="wrap_content"
android:layout_marginTop="5dp"
android:text="Subscribe"
android:textSize="18dp"
android:textColor="@color/white"
android:layout_gravity="center"
android:layout_height="wrap_content" />
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginTop="10dp"
android:background="@color/cardview_light_background" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/headername"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:text="Another Available Items"
android:textColor="@color/grey_color"
android:textSize="19dp"
android:textStyle="bold" />
<ListView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/itemlist"
android:layout_below="@id/headername"/>

</RelativeLayout>

</LinearLayout>
</ScrollView>
</LinearLayout>

Common Java CODE


package com.example.easyfind.common;

import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.location.Location;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.Uri;
import android.os.Environment;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.Toast;

import java.io.File;
import java.util.Calendar;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
* Created by Amit on 28/11/17.
*/

public class Common {


public static boolean debug = true;
private static Common mInstance = null;
protected Dialog loadDialog = null;
SharedPreferences pref;
SharedPreferences.Editor editor;
int PRIVATE_MODE = 0;
private Context mcontext;

public Common(Context ctx) {


mcontext = ctx;
pref = mcontext.getSharedPreferences("MyPreference", PRIVATE_MODE);
editor = pref.edit();
}

public static synchronized Common getNewInstance(Context ctx) {

mInstance = new Common(ctx);

return mInstance;
}

public static void showKeyboard(Activity activity) {

InputMethodManager imm = (InputMethodManager)


activity.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,
InputMethodManager.HIDE_IMPLICIT_ONLY);

public static void hideSoftKeyboard(Activity activity) {


try {
InputMethodManager inputMethodManager = (InputMethodManager) activity
.getSystemService(Activity.INPUT_METHOD_SERVICE);

inputMethodManager.hideSoftInputFromWindow(activity
.getCurrentFocus().getWindowToken(), 0);

} catch (Exception e) {
// TODO: handle exception
}

public static float getDistance(double startLati, double startLongi,


double goalLati, double goalLongi) {
Location locationA = new Location("point A");
locationA.setLatitude(startLati);
locationA.setLongitude(startLongi);
Location locationB = new Location("point B");
locationB.setLatitude(goalLati);
locationB.setLongitude(goalLongi);
float distance = (float) (locationA.distanceTo(locationB) * 0.000621371);
return distance;
}

public static Uri getCustomUri() {


// Create target folder if not exists.
File fileDir = new File(Environment.getExternalStorageDirectory(),
"Zui_Customer");
if (!fileDir.exists())
if (!fileDir.mkdirs())
return null;

// Create file object to save image.


String filePath = "image_" + Calendar.getInstance().getTimeInMillis() + ".png";
File file = new File(fileDir, filePath);
return Uri.fromFile(file);
}

public boolean isValidEmail(String email) {


String EMAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@"
+ "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";

Pattern pattern = Pattern.compile(EMAIL_PATTERN);


Matcher matcher = pattern.matcher(email);
return matcher.matches();
}

public void hideKeyboard(Context ctx) {


InputMethodManager inputManager = (InputMethodManager) ctx
.getSystemService(Context.INPUT_METHOD_SERVICE);

// check if no view has focus:


View v = ((Activity) ctx).getCurrentFocus();
if (v == null)
return;
inputManager.hideSoftInputFromWindow(v.getWindowToken(), 0);

public boolean isNetworkAvailable() {


ConnectivityManager connectivityManager = (ConnectivityManager) mcontext
.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo activeNetworkInfo = connectivityManager
.getActiveNetworkInfo();

return activeNetworkInfo != null;


// return true;
}

public void showShortToast(String output) {


Toast.makeText(mcontext, output, Toast.LENGTH_SHORT).show();
}

public void showLongToast(String output) {


Toast.makeText(mcontext, output, Toast.LENGTH_LONG).show();
}

public boolean setBooleanValue(String key, boolean value) {


editor.putBoolean(key, value);
editor.commit();
return value;
}

public boolean getBooleanValue(String key) {


return pref.getBoolean(key, false);
}
public void showShortToast(int stringRes) {
Toast.makeText(mcontext, stringRes, Toast.LENGTH_SHORT).show();
}
public void removeKey(String key) {
editor.remove(key);
editor.commit();
}

public String getStringValue(String key) {


return pref.getString(key, "");
}

public void setStringValue(String key, String value) {


editor.putString(key, value);
editor.commit();
}

public void setIntValue(String key, int value) {


editor.putInt(key, value);
editor.commit();
}

public int getIntValue(String key) {


return pref.getInt(key, -1);
}

Constant Java CODE


package com.example.easyfind.common;

public class Constants {


public static final String EMAIL_ID = "mahesh.anand0@gmail.com";
public static String preference="mypref";
public static final String MESSAGE_NO_INTERNET = "Please connect to internet !!!";
public static final String REQUEST_NOT_ADDED = "Request not added";
public static final String NO_BATCH = "No batch available";
public static final int TIME_OUT_MILLIS = 5000;
public static String LAT = "lat";
public static String LONG = "long";
public static String image_url="imgurl";
public static String org_email_id="org_email_id";
public static String org_name="org_name";
public static String speciality="speciality";
public static String contact_number="contact_number";
public static String description="description";
public static String latitude="latitude";
public static String longitude="longitude";
public static String service_catagory_main="service_catagory_main";
public static String service_catagory_sub="service_catagory_sub";
public static String USER_EMAIL="loginemail";
public static String USER_MOBILE="loginemobile";
public static String USER_NAME="username";
public static String USER_ZIP="userzip";
public static String USER_SATATE="userstate";
public static String USER_CITY="usercity";
public static String USER_ADDRESS1="address1";
public static String USER_DOB="userdob";
public static String USER_FATHERS_NAME="fathersname";
public final static String USER_ID = "userId";
public final static String INSTITUTE_ID = "instituteId";
public final static String userID_Institute = "i12345nstituteId";
public final static String QUE_ANS_ARRAY = "queansarray";
public final static int REQCODE_LOCATION = 1;
public final static int REQCODE_PREVIEW_SCREEN =1002;
}
6. Limitations

• Money doesn't grow: You don't get any return on the property that
one is taking on rent. The real beneficiary is owner of the house who
earns an income.

• Maintenance Issue: You might have to struggle to get the repairs


done in a timely manner

• Renewing rental agreement: There is no guarantee that the rental


agreement will be renewed. Also renewing a rental agreement can
lead to an unplanned rental increase.

• Restriction: One cannot renovate a property according to his


requirements. Plus, there are also restrictions that are imposed on a
rental property like many flats owners will not allow pets into their
property.

• Like the dependability on an active internet connection- Our app


currently does feature some offline functions but they are very
limited, our future goals do include a vast variety of offline function
and accessibility that does not rely on an active internet connection
all the time.

• Overall small Target Group- Currently, Just Find is an app totally


made for students who are foreigners to a new city like Hazaribagh.
Our app can be used by other user who may not be in our specific
target area but that quantity is write small as of now.

• Small start-up - As of now, we are a small start-up so the area our


app functioning effects are limited to Hazaribagh. But with time and
hard work and a bit of your help we can make this dream of having
the whole state and someday the whole country accessible to Just Find
and help millions and millions of users find convince in their studying
life.
7. Future Scope
 Application will be a service which will connect Renters to Landlords and
vice-versa.

 It will save the physical hard work and invaluable time to find room/flat.

 It will save Resources for Search the rooms/flats/houses.

 It will be an Open-Source Application which can be freely Install in


Android Smart Phone

 Application will make easy to find rooms/flats for the renter and upload
the location and other information by landlord/room-master.

8. References

• www.developer.android.com
• www. tutorialspoint.com
• www.GeeksforGeeks.com
• www.flaticon.com
• WWW.Google.com

You might also like