Professional Documents
Culture Documents
ACKNOWLEDGEMENT
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
Contents
1 Introduction 2
4 Project Planning 9
5 Implementation 15
6 Screenshots of Project 16
References 25
AD
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
ANDROID DEVELOPMENT
Chapter 1Introduction
1
AD
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.
AD
ANDROID DEVELOPMENT
2.1 Introduction
AD
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.
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.
AD
ANDROID DEVELOPMENT
3.1 Software
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.
AD
ANDROID DEVELOPMENT
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.
AD
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.