Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

ACKNOWLEDGEMENT

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 thisapplication 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 statetheir concerns to doctors regarding their health condition. This app will
facilitate thepatients to interact with doctors without making any physical appointments, but
thepatients are restricted to only one message per day before receiving a reply. If thepatient
gets a response from the corresponding doctor, the patient is allowed to sendanother message.
In addition using this app, the patient can make an appointment tomeet the doctor in
clinic/hospital. Doctor’s Appointment app would also facilitatethe patient’s pharmacy selection
to pick up the medication. Similarly, this app isbeneficial to doctors by providing the following
functionalities: patient interactionthrough messaging, sending prescription to pharmacies,
confirming appointments,information sharing with other doctors, and patient referrals. Unlike
other similarkinds of apps in the android play store, Doctor’s Appointment has unique
featuressuch 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 andproviding a
vital communication link between doctors and patients.

AD

Download to read ad-free.

Contents

1 Introduction 2

1.1 Android Development . . . . . . . . . . . . . . . . . . . . . . . . . 2


2 ABOUT DOCTOR APPOINTMENT 4

2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.2 Literature


Survey . . . . . . . . . . . . . . . . . . . . . . . . . . . 42.3 Feasibility Study . . . . . . . . . . . . . . . . . . . . . . . . . . .
52.4 Existing System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3 Software Requirements Specification 6

3.1 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.1.1 Android


Studio . . . . . . . . . . . . . . . . . . . . . . . . 63.2 Project Components . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4 Project Planning 9

4.1 Flow of Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.1.1 Main activity . . . . . . . . . . . . . . . . . . . .


. . . . . 94.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

AD

Download to read ad-free.

List of Figures

4.1 Model Classes, Adapter Classes and Activities . . . . . . . . . . . . 104.2 Recycler View Adapter . . .
. . . . . . . . . . . . . . . . . . . . . 114.3 Model Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.4 class
setting and getting an String object . . . . . . . . . . . . . . . 134.5 Design of Profile . . . . . . . . . . . . . . . . .
. . . . . . . . . . 146.1 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166.2
Dashboard(A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176.3 Dashboard(B) . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . 186.4 Doctor’s List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.5 Doctor
Profile(A) . . . . . . . . . . . . . . . . . . . . . . . . . . . 206.6 Doctor
Profile(B) . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.7 Pharmacy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
226.8 Add Doctor’s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236.9 Call
History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

AD

Download to read ad-free.

ANDROID DEVELOPMENT

Chapter 1Introduction

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 designedprimarily for touchscreen
mobile devices such as smartphones and tablets.Initiallydeveloped by Android Inc., which
Google bought in 2005. Android was unveiled in2007, with the first commercial Android device
launched in September 2008. Theoperating system has since gone through multiple major
releases, with the currentversion being 9 ”Pie”, released in August 2018. The core Android
source code isknown as Android Open Source Project (AOSP), and is primarily licensed under
theApache 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 indevices,
which usuallyincludes theGoogleChrome webbrowser andGoogle Searchand always includes
core apps for services such as Gmail, as well as the applicationstore and digital distribution
platform Google Play, and associated development plat-

Department of Information Technology, DBATU University, Lonere.

1
AD

Download to read ad-free.

ANDROID DEVELOPMENT

form. These apps are licensed by manufacturers of Android devices certified understandards
imposed by Google, but AOSP has been used as the basis of competingAndroid 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 ontablets since 2013. As of May
2017, it has over two billion monthly active users, thelargest installed base of any operating
system, and as of December 2018, the GooglePlay store features over 2.6 million apps.

Department of Information Technology, DBATU University, Lonere.

AD

Download to read ad-free.

ANDROID DEVELOPMENT

Chapter 2ABOUT DOCTOR APPOINTMENT

2.1 Introduction

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


requirement, especially now when the mobile communication technologyis 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 providefast and adequate medical services. Through
the connection between mobile termi-nals and specific service, both doctors and patients are
able to obtain required data toachieve a better interaction. Android is a Linux based open
source operating systemwhich is mainly used in portal devices with excellent performance thus
making itsmarket share growing. The platform, Web services and database technology are
allgradually maturing, so that we can develop a doctor- patient interaction system onAndroid
platform to meet the needs of the patient and provide doctors more efficientand 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 toaccess the hospital
server to obtain the necessary suggestion about the symptomsand 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 themonitoring data from the hardware of mobile
terminals. Paper describes the needfulthings that the Doctor has to do every day. In this paper,
we solve this problem byproposing a new system based on android technology, through that
the doctor canmanage his/her appointments from anywhere. In addition to this the patient
who isunable to go to the clinic and take the appointment can also book his/her appoint-

Department of Information Technology, DBATU University, Lonere.

AD

Download to read ad-free.

ANDROID DEVELOPMENT

ment from a mobile phone within 2-3 min. Our solution is to build a system that willhelp the
needful people or every person who wants to save their precious time.
Anyneededinformationcanbesuppliedat thetimeof installation. Thisremovestheneedfor 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. Inearlier 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 outto check workability of proposed
system, so the feasibility study is system proposalregarding to its workability, impact on
organization, ability to meet user require-ments effective use of resources thus when
application progresses, it normally goesthrough 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 veryuseful as it provides various
features. The appointment confirmation is given by asms. The main drawback of this system is
that, it is a application one requires adecent internet connection as loading of application may
take a long time.

Department of Information Technology, DBATU University, Lonere.

AD

Download to read ad-free.

ANDROID DEVELOPMENT

Chapter 3Software Requirements Specification

3.1 Software

3.1.1 Android Studio

Android apps can be written using Kotlin, Java, and C++ languages. The AndroidSDK tools
compile your code along with any data and resource files into an APK, anAndroid package,
which is an archive file with an .apk suffix. One APK file containsall the contents of an Android
app and is the file that Android-powered devices useto 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 nomore. This creates a very secure environment
in which an app cannot access partsof the system for which it is not given permission. However,
there are ways for anapp 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 whichcase 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 processand 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, seeWorking with System Permissions.

Department of Information Technology, DBATU University, Lonere.

AD

Download to read ad-free.

ANDROID DEVELOPMENT

3.2 Project Components

ActivityApp components are the essential building blocks of an Android app. Eachcomponent is
an entry point through which the system or a user can enter yourapp. Some components
depend on others. An activity is the entry point forinteracting 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 oneof these activities if the email app allows it. For
example, a camera app can startthe activity in the email app that composes new mail to allow
the user to sharea picture.

LayoutsConstraintLayout allows you to create large and complex layouts with a flatview
hierarchy (no nested view groups). It’s similar to RelativeLayout in thatall views are laid out
according to relationships between sibling views and theparent layout, but it’s more flexible
than RelativeLayout and easier to use withAndroid Studio’s Layout
Editor.AllthepowerofConstraintLayoutisavailabledirectlyfromtheLayoutEditor’svisual tools,
because the layout API and the Layout Editor were specially builtfor each other. So you can
build your layout with ConstraintLayout entirely bydrag-and-dropping instead of editing the
XML.A layout that arranges other views either horizontally in a single column
orverticallyinasinglerow. Setandroid:orientationtospecifywhetherchildviewsare displayed in a
row or column. To control how linear layout aligns all theviews it contains, set a value for
android:gravity. For example, the snippetabovesetsandroid:gravityto”center”.
Thevalueyousetaffectsbothhorizontaland vertical alignment of all child views within the single
row or column.

Department of Information Technology, DBATU University, Lonere.

AD

Download to read ad-free.

ANDROID DEVELOPMENT

Image AssetsWe used Adobe XD for creating UI component backgrounds which are op-timized
to be used in android activities, also we used some image assets
fromhttps://material.io/design/ App logo is inspired from dribble.com and redesigned in Adobe
illustrator.


Firebasea 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 cancontain
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.

You might also like