Sunteți pe pagina 1din 32

PROJECT REPORT

on
“ANDROID DEVELOPMENT”

Submitted in the fulfilment of the requirement for the award of the degree of

Bachelor of Technology

in

INFORMATION TECHNOLOGY

DEPARTMENT OF INFORMATION TECHNOLOGY

DR. BABASAHEB AMBEDKAR TECHNOLOGICAL


UNIVERSITY
Lonere-402103, Tal.-Mangaon, Dist.-Raigad (M.S.) INDIA.
2018-2019
PROJECT REPORT

on
“ANDROID DEVELOPMENT”

Submitted in the fulfilment of the requirement for the award of the degree of

Bachelor of Technology

in

INFORMATION TECHNOLOGY

by

Aditya S. Karwade (20150728)


Nikhil Deshmukh (20140707)

DEPARTMENT OF INFORMATION TECHNOLOGY

DR. BABASAHEB AMBEDKAR TECHNOLOGICAL


UNIVERSITY
Lonere-402103, Tal.-Mangaon, Dist.-Raigad (M.S.) INDIA.
2018-2019
ANDROID DEVELOPMENT

Certificate

The final project report of ”Android Development” submitted by Aditya Santosh Karwade
(20150728) Nikhil Deshmukh (20140707) is approved for the partial fulfilment of the requirement
for the award of the degree of Bachelor of Technology in Information Technology. This work is
done under our guidance.

(Prof. V. J. Kadam) (Dr. S. M. Jadhav)


Project Guide Head
Department of Information Technology

External Examiners :

1. (Name: Prof. Sunil Chavan )

2. (Name: Prof. Nitin Patil )

3. (Name: Prof. Milind Rahangdale )

Place : Dr. Babasaheb Ambedkar Technological University, Lonere.


Date :

Department of Information Technology, DBATU University, Lonere. 3


Acknowledgements

This work is just not an individual contribution till its completion. I take this
opportunity to express a deep gratitude towards my teacher for providing excellent
guidance encouragement and inspiration throughout the Training work. Without his
invaluable guidance, this work would never have been a successful one.

I would like to express deepest appreciation towards Dr. S. M. Jadhav, Head of


Department of Information Technology

At last we must express our sincere heartfelt gratitude to all the staff members
of Information Technology Department who helped me directly or indirectly during
this course of work.

Aditya S. Karwade
Nikhil Deshmukh
ABSTRACT

This project consists of the development of a contributory web application to dis-


play and gather information on Doctors, Hospitals, Labs, Medicals. The goal of this
application is to create the foundation for a disease free society.

Doctor’s Appointment is an Android app which sets up online communication be-


tween a doctor and a patient. This app is helpful to patients to ask questions and state
their concerns to doctors regarding their health condition. This app will facilitate the
patients to interact with doctors without making any physical appointments, but the
patients are restricted to only one message per day before receiving a reply. If the
patient gets a response from the corresponding doctor, the patient is allowed to send
another message. In addition using this app, the patient can make an appointment to
meet the doctor in clinic/hospital. Doctor’s Appointment app would also facilitate
the patient’s pharmacy selection to pick up the medication. Similarly, this app is
beneficial to doctors by providing the following functionalities: patient interaction
through messaging, sending prescription to pharmacies, confirming appointments,
information sharing with other doctors, and patient referrals. Unlike other similar
kinds of apps in the android play store, Doctor’s Appointment has unique features
such as issuing online prescription to patients, referring patients to a specialist, send-
ing health tips to patients, and effectively, reducing the cost of customer service and
providing a vital communication link between doctors and patients.
Contents

1 Introduction 2
1.1 Android Development . . . . . . . . . . . . . . . . . . . . . . . . . 2

2 ABOUT DOCTOR APPOINTMENT 4


2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Literature Survey . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Feasibility Study . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Existing System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3 Software Requirements Specification 6


3.1 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1.1 Android Studio . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2 Project Components . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4 Project Planning 9
4.1 Flow of Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1.1 Main activity . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.1.2 Project Structure . . . . . . . . . . . . . . . . . . . . . . . 10

5 Implementation 15
5.1 Proposed System . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

6 Screenshots of Project 16
6.1 Doctor Appointment . . . . . . . . . . . . . . . . . . . . . . . . . 16

7 Conclusion and Future Scope 25


7.1 Conclusion and Future Scope . . . . . . . . . . . . . . . . . . . . . 25

References 25
List of Figures

4.1 Model Classes, Adapter Classes and Activities . . . . . . . . . . . . 10


4.2 Recycler View Adapter . . . . . . . . . . . . . . . . . . . . . . . . 11
4.3 Model Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.4 class setting and getting an String object . . . . . . . . . . . . . . . 13
4.5 Design of Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

6.1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6.2 Dashboard(A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6.3 Dashboard(B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.4 Doctor’s List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.5 Doctor Profile(A) . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.6 Doctor Profile(B) . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.7 Pharmacy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.8 Add Doctor’s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.9 Call History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
ANDROID DEVELOPMENT

Chapter 1

Introduction

1.1 Android Development

Android is a mobile operating system developed by Google. It is based on a mod-


ified version of the Linux kernel and other open source software and is designed
primarily for touchscreen mobile devices such as smartphones and tablets.Initially
developed by Android Inc., which Google bought in 2005. Android was unveiled in
2007, with the first commercial Android device launched in September 2008. The
operating system has since gone through multiple major releases, with the current
version being 9 ”Pie”, released in August 2018. The core Android source code is
known as Android Open Source Project (AOSP), and is primarily licensed under the
Apache License.
Android is also associated with a suite of proprietary software developed by Google,
called Google Mobile Services (GMS) that very frequently comes pre-installed in
devices, which usually includes the Google Chrome web browser and Google Search
and always includes core apps for services such as Gmail, as well as the application
store and digital distribution platform Google Play, and associated development plat-

Department of Information Technology, DBATU University, Lonere. 1


ANDROID DEVELOPMENT

form. These apps are licensed by manufacturers of Android devices certified under
standards imposed by Google, but AOSP has been used as the basis of competing
Android ecosystems, such as Amazon.com’s Fire OS, which use their own equiva-
lents to GMS.
Android has been the best-selling OS worldwide on smartphones since 2011 and on
tablets since 2013. As of May 2017, it has over two billion monthly active users, the
largest installed base of any operating system, and as of December 2018, the Google
Play store features over 2.6 million apps.

Department of Information Technology, DBATU University, Lonere. 2


ANDROID DEVELOPMENT

Chapter 2

ABOUT DOCTOR APPOINTMENT

2.1 Introduction

The establishment and improvement of doctor-patient interaction system is a very


important requirement, especially now when the mobile communication technology
is developing rapidly. The advantages of mobile application can be made full use of
to make up the time and distance gap between doctors and patients and to provide
fast and adequate medical services. Through the connection between mobile termi-
nals and specific service, both doctors and patients are able to obtain required data to
achieve a better interaction. Android is a Linux based open source operating system
which is mainly used in portal devices with excellent performance thus making its
market share growing. The platform, Web services and database technology are all
gradually maturing, so that we can develop a doctor- patient interaction system on
Android platform to meet the needs of the patient and provide doctors more efficient
and convenient means of communication with patients

2.2 Literature Survey

Here we present a doctor-patient interaction system based on Android. Its ex-


cellent performance on mobile terminals makes it possible that patients are able to
access the hospital server to obtain the necessary suggestion about the symptoms
and interact with the doctors on their own mobile terminals, while doctors can track
patients whenever and wherever possible or make a diagnosis of alert depends on the
monitoring data from the hardware of mobile terminals. Paper describes the needful
things that the Doctor has to do every day. In this paper, we solve this problem by
proposing a new system based on android technology, through that the doctor can
manage his/her appointments from anywhere. In addition to this the patient who is
unable to go to the clinic and take the appointment can also book his/her appoint-

Department of Information Technology, DBATU University, Lonere. 3


ANDROID DEVELOPMENT

ment from a mobile phone within 2-3 min. Our solution is to build a system that will
help the needful people or every person who wants to save their precious time. Any
needed information can be supplied at the time of installation. This removes the need
for a technician to install software and enormously quickens the implementation of
a patient monitoring system.

2.3 Feasibility Study

The feasibility study is major factor which contributes to analysis of system. In


earlier stages of S/W development, it is necessary to check whether system is feasi-
ble or not. There are 4 aspects of checking feasibility. Detail study was carried out
to check workability of proposed system, so the feasibility study is system proposal
regarding to its workability, impact on organization, ability to meet user require-
ments effective use of resources thus when application progresses, it normally goes
through a feasibility study risk analysis.

2.4 Existing System

The existing system consists of booking a doctor’s appointment through the ap-
plication. The application is called ”Doctor Appointment”. The application is very
useful as it provides various features. The appointment confirmation is given by a
sms. The main drawback of this system is that, it is a application one requires a
decent internet connection as loading of application may take a long time.

Department of Information Technology, DBATU University, Lonere. 4


ANDROID DEVELOPMENT

Chapter 3

Software Requirements Specification

3.1 Software

3.1.1 Android Studio

Android apps can be written using Kotlin, Java, and C++ languages. The Android
SDK tools compile your code along with any data and resource files into an APK, an
Android package, which is an archive file with an .apk suffix. One APK file contains
all the contents of an Android app and is the file that Android-powered devices use
to install the app.
The Android system implements the principle of least privilege. That is, each app,
by default, has access only to the components that it requires to do its work and no
more. This creates a very secure environment in which an app cannot access parts
of the system for which it is not given permission. However, there are ways for an
app to share data with other apps and for an app to access system services:

• It’s possible to arrange for two apps to share the same Linux user ID, in which
case they are able to access each other’s files. To conserve system resources,
apps with the same user ID can also arrange to run in the same Linux process
and share the same VM. The apps must also be signed with the same certificate.

• An app can request permission to access device data such as the user’s con-
tacts, SMS messages, the mountable storage (SD card), camera, and Bluetooth.
The user has to explicitly grant these permissions. For more information, see
Working with System Permissions.

Department of Information Technology, DBATU University, Lonere. 5


ANDROID DEVELOPMENT

3.2 Project Components

• Activity

App components are the essential building blocks of an Android app. Each
component is an entry point through which the system or a user can enter your
app. Some components depend on others. An activity is the entry point for
interacting with the user.
the activities work together to form a cohesive user experience in the email app,
each one is independent of the others. As such, a different app can start any one
of these activities if the email app allows it. For example, a camera app can start
the activity in the email app that composes new mail to allow the user to share
a picture.

• Layouts

ConstraintLayout allows you to create large and complex layouts with a flat
view hierarchy (no nested view groups). It’s similar to RelativeLayout in that
all views are laid out according to relationships between sibling views and the
parent layout, but it’s more flexible than RelativeLayout and easier to use with
Android Studio’s Layout Editor.
All the power of ConstraintLayout is available directly from the Layout Editor’s
visual tools, because the layout API and the Layout Editor were specially built
for each other. So you can build your layout with ConstraintLayout entirely by
drag-and-dropping instead of editing the XML.

A layout that arranges other views either horizontally in a single column or


vertically in a single row. Set android:orientation to specify whether child views
are displayed in a row or column. To control how linear layout aligns all the
views it contains, set a value for android:gravity. For example, the snippet
above sets android:gravity to ”center”. The value you set affects both horizontal
and vertical alignment of all child views within the single row or column.

Department of Information Technology, DBATU University, Lonere. 6


ANDROID DEVELOPMENT

• Image Assets

We used Adobe XD for creating UI component backgrounds which are op-


timized to be used in android activities, also we used some image assets from
https://material.io/design/
App logo is inspired from dribble.com and redesigned in Adobe illustrator.

• Firebase

a Firebase Firestore:
Firebase Firestore is noSQL database used in form of collection and docu-
ments. A collection can contain number of documents and a document can
contain key-value paired fields and also subcollections.
b Firebase Storage:
Firebase Storage is used to store images, videos, documents, etc.

Department of Information Technology, DBATU University, Lonere. 7


ANDROID DEVELOPMENT

Chapter 4

Project Planning

4.1 Flow of Project

4.1.1 Main activity

Main activity is the launcher activity. In main activity we overridden onstart( )


method which is invoked when activity is started. In the onstart( ) method we check
if user is register to our database by using custom flag created using shared prefer-
ences if user isn’t registered then we start activity Register otherwise we continue to
main activity. Main activity contains Doctors types as General Physician, Dentist,
Ayurvedic, Surgeon, etc. categories.

When we click on any category we pass a string message which is a part of address
of collection containing doctors of that type and we fetch them in activity doctor
list. We used RecyclerView to show doctors fetched from that collection. Clicking
on any doctor card we fetch document containing information about that doctor and
we have created three buttons call, message, and gallery. When we click on gallery
button we get images of that hospital or medical.

We can add new doctors in our application from an activity dynamically.

Department of Information Technology, DBATU University, Lonere. 8


ANDROID DEVELOPMENT

4.1.2 Project Structure

Figure 4.1: Model Classes, Adapter Classes and Activities

This are Model Classes, Adapter Classes and Activities used in our project.

Department of Information Technology, DBATU University, Lonere. 9


ANDROID DEVELOPMENT

Figure 4.2: Recycler View Adapter

The RecyclerView widget is a more advanced and flexible version of ListView.

In the RecyclerView model, several different components work together to dis-


play your data. The overall container for your user interface is a RecyclerView object
that you add to your layout. The RecyclerView fills itself with views provided by a
layout manager that you provide. You can use one of our standard layout managers
(such as LinearLayoutManager or GridLayoutManager), or implement your own.

The views in the list are represented by view holder objects. These objects are
instances of a class you define by extending RecyclerView.ViewHolder. Each view
holder is in charge of displaying a single item with a view. For example, if your list
shows doctor’s speciallization , each view holder might represent a specialist doctors
list. The RecyclerView creates only as many view holders as are needed to display
the on-screen portion of the dynamic content, plus a few extra. As the user scrolls
through the list, the RecyclerView takes the off-screen views and rebinds them to the
data which is scrolling onto the screen.

Department of Information Technology, DBATU University, Lonere. 10


ANDROID DEVELOPMENT

The view holder objects are managed by an adapter, which you create by extend-
ing RecyclerView.Adapter. The adapter creates view holders as needed. The adapter
also binds the view holders to their data. It does this by assigning the view holder
to a position, and calling the adapter’s onBindViewHolder() method. That method
uses the view holder’s position to determine what the contents should be, based on
its list position.

Figure 4.3: Model Class

Department of Information Technology, DBATU University, Lonere. 11


ANDROID DEVELOPMENT

Figure 4.4: class setting and getting an String object

Department of Information Technology, DBATU University, Lonere. 12


ANDROID DEVELOPMENT

Figure 4.5: Design of Profile

In the Layout Editor, you can quickly build layouts by dragging UI elements
into a visual design editor instead of writing the layout XML by hand. The design
editor can preview your layout on different Android devices and versions, and you
can dynamically resize the layout to be sure it works well on different screen sizes.

Department of Information Technology, DBATU University, Lonere. 13


ANDROID DEVELOPMENT

Chapter 5

Implementation

5.1 Proposed System

The proposed system consists of two panels: Doctor and Patient. The users will
first have to download the application and install it in their mobile devices. Once in-
stalled, this application will remain into the device permanently until the user deletes
it or uninstalls it. The patient will have to register into the application for the first
time. On registering, the patient will receive a username and password. The patient
can use this username and password for logging into the app each time he uses it. Af-
ter logging in, the patient will have to select a filtration type. The filtration is done on
the basis of Doctors Specialty. After selecting the filtration type, the doctors list will
be displayed. The patient can select any particular doctor and view his profile. Also
the patient can view the doctor’s schedule and look for an appointment according to
his convenience. The patient will then send a request for appointment. The doctor
can either accept the appointment or reject it. The database will get updated accord-
ingly and the patient will get a confirmation message. The add-on to this system
is that the patient will receive a notification 2 hours before the actual appointment.
This will be very useful in case the patient tends to forget the appointment.

Department of Information Technology, DBATU University, Lonere. 14


ANDROID DEVELOPMENT

Chapter 6

Screenshots of Project

6.1 Doctor Appointment

In this activity we register new user and log In.

Figure 6.1: Register

Department of Information Technology, DBATU University, Lonere. 15


ANDROID DEVELOPMENT

The Dashboard after we enter in app by registering with your name and mobile
number.

Figure 6.2: Dashboard(A)

Department of Information Technology, DBATU University, Lonere. 16


ANDROID DEVELOPMENT

Figure 6.3: Dashboard(B)

There is a list of different specialist such as General Physician, Dentist, Ayurvedic,


Cardiologist, Eye Specialist, Orthopedic, Pediatrics, Surgeon, Gynaecologist, Psy-
chiatrists, Homeopathy, Diabetologist, etc. by these list we can choose one option
and click. Here we can find medicals, Pharmacy for the Medicines as per need.
We can directly add new doctors profiles in database dynamically from the applica-
tion.
and we can also check the call history.

Department of Information Technology, DBATU University, Lonere. 17


ANDROID DEVELOPMENT

Figure 6.4: Doctor’s List

In this activity it shows the list of corresponding doctors.

Department of Information Technology, DBATU University, Lonere. 18


ANDROID DEVELOPMENT

Figure 6.5: Doctor Profile(A)

In this activity we can see the Doctors profile, the hospital name and also we
can contact the doctor by call or message.

Department of Information Technology, DBATU University, Lonere. 19


ANDROID DEVELOPMENT

Figure 6.6: Doctor Profile(B)

Department of Information Technology, DBATU University, Lonere. 20


ANDROID DEVELOPMENT

Figure 6.7: Pharmacy

Here we can find the medical store or pharmacy.

Department of Information Technology, DBATU University, Lonere. 21


ANDROID DEVELOPMENT

Figure 6.8: Add Doctor’s

In this activity we can add new doctors profile or new medical information
dynamically.

Department of Information Technology, DBATU University, Lonere. 22


ANDROID DEVELOPMENT

Figure 6.9: Call History

Here we can see the call history.

Department of Information Technology, DBATU University, Lonere. 23


ANDROID DEVELOPMENT

Chapter 7

Conclusion and Future Scope

7.1 Conclusion and Future Scope

The proposed online appointment system has been implemented in android stu-
dio for application development. The tasks involved in this work are divided into
modules. The proposed system is efficient and has friendly user interface. Addition
of the admin and doctor modules in the android application are included in future
work. That would help the doctor to register on the application and perform all the
tasks on the app. The admin would be able to use the app for managing the details of
the patients and the doctors. A payment or some amount may be charged to the user-
s/patients while making an appointment to avoid the unethical users. As many users
only register themselves just for fun and has no concern by making an appointment.
Some more future directions are the improvements in the patient’s module which
includes setting reminders for the appointments and saving the appointment date to
the calendar

Department of Information Technology, DBATU University, Lonere. 24


ANDROID DEVELOPMENT

References

[1] https://developer.android.com/docs

[2] https://firebase.google.com/docs

[3] https://stackoverflow.com/

Department of Information Technology, DBATU University, Lonere. 25

S-ar putea să vă placă și