Explore the Top Trends in mHealth App Development.
imran
1. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 1
Health Care
PROJECT SUPERVISOR:
Mr. Ali Daniyal
LECTURER
Dept. of CS&IT
UNDERTAKEN BY:
Muhammad Imran
Roll No 26
MCS Morning
SESSION:2013-2015
DEPARTMENT OF COMPUTER SCIENCE & IT
THE ISLAMIA UNIVERSITY OF BAHAWALPUR
3. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 3
All Praised Are For
The most beneficent, who guides us in the darkness and
helps in difficulties,
Without this help one can never achieve destination.
All Respects Are For His
HOLLY PROPHET HAZRAT MUHAMMAD (P.B.U.H)
Who enlighten out the minds to recognize our creature.
4. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 4
FINAL APPROVEL
It is to certify, that we have gone through this project report that is submitted by
Muhammad Imran Roll # 26, Session 2013-2015. our judgment is that this Project is up
to the standard to warrant its acceptance by the Islamia University Bahawalpur for the
Master Degree Computer Science.
External examiner:
Supervisor:
Chairman:
DR. Dost Muhammad khan
Department Of Computer Science,
Islamia University Bahawalpur.
5. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 5
Dedication:
This project is dedicated to The Planner, The Creator of the entire Universe;
The Merciful ALLAH, and HIS loving messenger Hazrat Mohammad
(Peace Be Upon Him). ALLAH has given me the power to perform this task
and facilitating every possible means to complete this project.
To my loving parents and my brother they support me and pray for the
completion of my project.
In last this project is dedicated to my beloved friend.
6. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 6
PROJECT BRIEF
PROJECTNAME: Health Care
OBJECTIVE: The main objective of this project to provide the
facility to Check diseases & its
treatment ,symptoms, facts and prevention and
provide the facility to get Location of Health unit
nearby places with the help of GPS and Google
Map.
Project Started 20-06-2015
Project Finished 15-08-2015
Source Language Android
Operating System Windows 8 (64-bit).
7. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 7
ACKNOWLEDGMENT
Up and above everything, we are grateful almighty ALLAH, The beneficent, the
merciful, and his Holy Prophet Hazarat MOHAMMAD (Peace Be Upon Him) who is
forever true light of guidance for whole humanity. We are greatly obliged “ALLAH” by
whom grace we have been able to complete this project successfully.
We feel much obliged to our families, whom prayers and good wishes have enabled us to
reached at this stage.
Our success is the result of the Technical Guidance, invaluable comments and moral
support of our supervisor Mr.Ali Daniyal whose efforts and for the students are not only
for projects but also throughout the session. We are very thankful to her for talking such a
pain for us. We extend our thanks to all our teachers from whom we have learnt a lot
during the session and their nice behavior and attitude is always encouraging us for
learning.
Muhammad Imran
8. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 8
ABSTRACT
The Health Care android base application is to provide the facility to user to get
information about diseases on base of diseases symptoms and provide the facility how to
control, treated, diagnosed and prevented of that disease.
The application provide the facility to user to get a location of health center and find the
path , distance and get alert message when He or She near the location or destination
User gets all information about diseases and through Google Map fined His or Her
location and find nearby health center. The user first login if the info is exists. If the info
of the admin is not exist then first he or she signup and add his information then they
perform any action.
The plus point of this application is that user get diseases information at any time if
he/she use app and treated emergency to save life and find the location with the help of
the GPS and Google Map of health unit that located nearby. This is an android based
application and use in Pakistan. Another plus point this application is that it also provide
the facility to find the path of destination. Google also provide the lot of facility which is
very helpful for this.
9. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 9
TABLE OF CONTENTS:
Sr.no TABLE OF CONTENTS Page
1 Introduction
11
1.1 Introduction of Project 12
1.2 Project Scope 12
1.3 Problem Statement 12
1.4 Working of System Proposal 14
1.5 What is Expendable list View 15
1.6 What is custom list View 15
1.7 What is SQLite Database 15
1.8 What is GPS Tracking 16
1.9 Tools& Technologies 16
1.10 Android 19
2 Requirement Analysis 20
2.1 Requirements Summery 21
2.2 System Requirement Specification 24
2.3 Constraints and Limitation 24
3 Object Oriented DesignAnalysis 25
3.1 Use Case Diagram 26
3.2 Activity Diagram 32
4 Class Diagram 36
4.1 properties of class diagram 37-44
5 Interface Snap Shots 45-2
6 References 53
12. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 12
1.1) Introducing The Health Care System:
The Health care application provide facility of information about diseases.and
description about diseases (facts, causes, symptoms, diagnose, treatment and
prevention).This project is used for those people who want to check their
treatment of some common diseases instant to doctor at home . Here is the
project is android based application is to use for some common diseases treatment
with end to end.At any time user can check his/her treatment through this
application.He also search disease with enter name like Allergy,Heart Attack
etc.application give a response of request by identifying the disease name which
is already save in a database when match his request is granted and user can check
his/her treatment.user can use this application at any time at home to get
information about diseases.
Health Care Center:
The Health care application also provide facility of information about health
center where it is located and find path for easy access.
1.2) Project Scope:
The software is android base application.
Provide the facility to check the information about diseases.
Provide the facility to check Health Center location with the help of GPS and Google
Map.
The system gives automatic location to the user using GPS and Google Map.
1.3) Problem Statement:
SECTION I:
Earlier System
Earlier the information about diseases to get very difficult to handle in such that if any
one is in problem to cover a long distance for check up and have not information about
diseases. In second view of apps user face very difficult to reached the hospital/health
center and could not find the path easily and could not find his/her location. If they could,
they would face many problem.This was wastage of time.
13. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 13
SECTION II
DrawbacksofEarlier System
In previous section it was told that there were such systems which can let the user to get
the information or description about diseases is very difficult. and to get the current
location of its own and location of Health center is very difficult. if user want to know
about diseases serve the doctor and could not find health center easily. The user/person
would face following difficulties in doing so with earlier system:
Extra Overhead:
User who wanted to get the information about common diseases would had to come
online or had to pay extra charges to get the desired results and find out about health
center and its path.
Updating Problems:
In earlier systems, the diseases information could not get on its own mobile or at home.
The current location would be based on manual and hand written not online and on
mobile i.e. the location of the Health Center where the health center is located which was
ambiguous enough for the user/person. In manual system it was very difficult to get or
update new information.
Time Management:
In earlier systems,for get diseases information is difficult for this purposes lot of time is
required. The system should have to update the presence and location of user so new
software is needed to automatically update the user location , presence and location in the
particular health center.
1.4) Working of System Proposal:
Our main goal was to develop intelligent software that will help the user to
Provide the facility to get information about diseases at home at any time.
Provide the facility to know about diseases on based on symptoms.
Provide the facility to prevent, diagnose, treat the diseases in emergency.
Need to keep record of the all diseases.
Get the location of the Health center on Map
Find the path of Health Center.
14. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 14
Need to keep record of the all Health center.
Provide the sign in and sign up facility.
Provide the facility of insert update and delete the record only by developer.
Advantages of proposed system
As we are developing system for the Health care and location finder of Health unit, we
have kept in mind all the advantages which they are looking for. Some of advantages are
described below:
Health care system to instantly give the facility of all diseases and provide a
description about it.
Health care system to instantly give the facility to save our time get information
about diseases at home.
The System to instantly give the facility to find location of Health Center with the
help of GPS and Google Map.
Most important that system is user friendly and there is no or less user interaction
i.e. the system can still run efficiently if none is operating it.
1.5)What is Android ExpandableListView?
ExpandableListView is a type of view very
much similar to a List View but allows two levels. Basically items are grouped inside the
list much like giving a category heading to a bunch of similar items and then group them
by the category headings. Each group can be expanded or collapsed individually to show
or hide its children. You can attach listeners to the ExpandableListView to listen for
OnClick events on the Group or the individual children.
1.6)What is Custom list View?:
List View is a view group that displays a list of
scrollable items. The list items are automatically inserted to the list using an Adapter that
pulls content from a source such as an array or database query and converts each item
result into a view that's placed into the list.
15. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 15
1.7)What is SQL Database?:
SQLite is an Open Source database. SQLite supports
standard relational database features like SQL syntax, transactions and prepared
statements. The database requires limited memory at runtime (approx. 250 KByte) which
makes it a good candidate from being embedded into other runtimes.
SQLite supports the data types TEXT (similar to String in Java), INTEGER (similar to
long in Java) and REAL (similar to double in Java). All other types must be converted
into one of these fields before getting saved in the database. SQLite itself does not
validate if the types written to the columns are actually of the defined type, e.g. you can
write an integer into a string column and vice versa.
Its syntax is given below
SQLiteDatabse mydatabase = openOrCreateDatabase("your database
name",MODE_PRIVATE,null);
1.8)what is GPS Tracking?
A GPS tracking unit is a device that uses the Global Positioning System to determine the
precise location of a vehicle, person, or other asset to which it is attached and to record
the position of the asset at regular intervals. The recorded location data can be stored
within the tracking unit, or it may be transmitted to a central location data base, or
internet-connected computer, using a cellular (GPRS or SMS), radio, or satellite modem
embedded in the unit. This allows the asset's location to be displayed against a map
backdrop either in real time or when analyzing the track later, using GPS tracking
software.
that there are several reasons why GPS is not a universally applicable location sensing
mechanism. Firstly, it does not work indoor, particularly in steel-framed building.
Secondly, GPS use an absolute coordinate system, whereas some applications (for
example, guidance systems for robotic equipment) require coordinate relative to specific
objects. Finally, the specific component needed for GPS impose weight, cost and energy
consumption requirements that are problematic for mobile hardware.
16. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 16
1.9)Tools & Technologies:
This system is developed by using
Android java.
Android Studio.
Android Mobile.
For Mobile application SQLITE Browser is a very good database.
GPS basedAndroid Mobile:
GPS technology is used in this application. For using this mobile the user find the
location of Health Center with the help of GPS and Google Map.
18. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 18
Google map in Android Mobile
19. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 19
1.10)Android:
Android is Mobile Platform developed by Google. Developers create applications in Java
on the platform. It includes some important features like 3D graphics, Media support for
common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG,
PNG, GIF), GSM Telephony, Bluetooth, 3G, Wi-Fi, GPS depending on hardware
capability of mobile devices.
Highlights of Android :
Firstly, Android is open-source platform. Secondly, Android enables reuse of
components. For example, there is one component for editing text files in one application;
other applications can make use of the component as needed, of course, the application
has released the permission that other applications can use it. In J2ME [Sun 2010], one
application implements most functionalities in a single midlet extending from Midlet
base class but Android contains different components types of Activity, Service, Content
Provider, Broadcast Receiver in one application and they can communicate through
sending intent message, J2ME is not easy as Android to write modular code. Thirdly,
Android can be native access to Google map infrastructure. And it supports GPS
localization. Fourthly, its network can work in the way of Bluetooth, 3G or Wi-Fi. Finally,
it provides Widgets classes and Layout classes for designing UI
20. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 20
Chapter: 02
Requirement Gathering
and Analysis
21. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 21
2.1) Requirement Summary:
The system is fully computerized and automated for Track the Employee through Google
Map.
. There are two types of requirement every system have:-
Non-Functional Requirements
Functional Requirements
Non-FunctionalRequirements of the system:
Login security is provided and the system will be secure from unauthorized access.
The user must be logged into the system before performing any kind of task.
The system provide the diseases information.
Application show all diseases description.
The system show all health center.
The developer will be able to insert, update and delete the record of the
employees.
Functional Requirements of the system:
User gets information about diseases.
User could choose the diseases category.
User should be able to visit and leave apps.
User should be able to see all Health center through Google Map.
The Google play services are used for show the Map.
The map can be zoomed in and out.
Can show the route between different locations on the map
Can show user’s current position on the map
Internet is necessary to show map
GPS must be on
The requirement of system must be fulfilled for proper working of the system.
ProjectInteractivity Plan:
The user will interact with software by entering the command through cell phone.
Application is user friendly due to receiving the input from the hardware. The system
show all health care information. The system shows the Map and Location on Demand.
22. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 22
Secure User Login:
This software although is user interaction free. But still it would require a login on startup,
so that the external threat wont mess up .
Login Information:
User must provide username and password to login into the system.
23. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 23
Sign in and Sign up:
The Administrator/User first signs in if the record does not exist if not then first Sign up
then save all his information. Then they perform other work.
Sign in has the user name or user password. or in sign up has a full name ,email id and
password.
24. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 24
2.2) SRS Document (System Requirements Specification):
Health Care and Health Unit System’s Requirements/Rules
Sr. No. Description
SRS-01 System should be able to provide login facility
SRS-02 System should be able to sign up facility
SRS-03 System should be able to show all diseases information
SRS-04 System should be able to update and delete the record through developer
SRS-05 System should be able to show the description of all diseases
SRS-06 System should be able to show location of Health Center
SRS-07 System should be able to show the Google map
SRS-08 System should be able to show the Google map and location of the user
2.3)Limitations and Constraints:
SrNo.
Descriptions
01 It necessary for run the project to install the Android Studio.
02 It necessary to run the project to install the Google play services.
03 The user must enter the name and password to get information from any project.
04 The GPRS and Internet is must active on the system .
05 Android phone is necessary to run that application.
25. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 25
Chapter: 03
System Analysis and
Design
26. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 26
3.1) Use Case Diagrams:
A use case is a methodology used in system analysis to
identify, clarify, and organize system requirements. The use case is made up of a set of
possible sequences of interactions between systems and users in a particular environment
and related to a particular goal. It consists of a group of elements (for example, classes
and interfaces) that can be used together in a way that will have an effect larger than the
sum of the separate elements combined. The use case should contain all system activities
that have significance to the users. A use case can be thought of as a collection of
possible scenarios related to a particular goal, indeed, the use case and goal are
sometimes considered to be synonymous.
To explain and understand the sequence of actions we have buildup the use case diagram
so that it may help in better understanding. The use case diagram is as follows:
27. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 27
Use Case for Health Care:
User
Main Panel
Login
Password
Sign Up
Diseases
Information
Show Map
28. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 28
Use case diagram for diseases information:
In use case diagram we show the flow of user working
.Select category of disease
.Select disease name
.Press submit
Select category.
User
Common
Allergies
Asthma
Blood Pressure
Cancer
Diabetes
Digestion
Heart
Infectious
Disease
Skin
Sleep
29. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 29
After selecting category select disease
user
Category
user
Cancer
Cancer
Brain Tumor
Liver Cancer
Skin Cancer
Diseases
Press submit
30. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 30
Use Case UserSign In and Sign up:
Sign In
Password
Sign Up
31. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 31
Use Case Map:
user
View map for health center location.
Show Map
View Map
32. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 32
3.2) Activity Diagrams
Activity diagrams are graphical representations of workflows of stepwise activities and
actions with support for choice, iteration and concurrency. In the Unified Modeling
Language, activity diagrams are intended to model both computational and organizational
processes (i.e. workflows). Activity diagrams show the overall flow of control.
Activity diagrams are constructed from a limited number of shapes, connected with
arrows. The most important shape types:
rounded rectangles represent actions;
diamonds represent decisions;
a black circle represents the start (initial state) of the workflow;
an encircled black circle represents the end (final state).
33. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 33
Login Activity Diagram:
Activity: Login
34. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 34
Diseases Information:
Activity: Show diseases info
Select disease from
child list
[Required information is provided]
[Information is not Duplicated ]
[Required information is not provided]
[Information is duplicated ]
Show disease info List
Click on diseases info
button
35. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 35
Track Health Center and show Map Activity Diagram:
Activity: Track Health Center and show Map
Click on show Button
[Required information is provided]
[Information is not Duplicated ]
[Required information is not provided]
[Information is duplicated ]
Activity: Track and show Map
Select city name from list
36. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 36
Chapter: 04
Class Diagrams
37. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 37
4.1)Button Properties of Login Diagram:
38. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 38
4.2:Button Properties of Sign Up Diagram:
39. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 39
4.3:Button Properties of Diseasesinformation Diagram:
40. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 40
4.4:Button Properties of Hospital Diagram:
41. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 41
4.5:Button Properties of Expendable list view:
42. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 42
4.6)Button Properties of DiseasesDescription(buttons)Diagram:
43. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 43
4.7)Button Properties Map Show Diagram:
44. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 44
4.8)Button Properties Of DiseasesSearchDiagram:
46. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 46
5.1 Display Of Application:
47. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 47
5.2 Display of Sign up activity:
If the User has no record then first sign up then he gets login, the display of sign up page
is here.
48. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 48
5.3 Display of Main activity:
After Sign in then see diseases information and location of Hospital through Map. The
Activity looks like this.
49. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 49
5.4 Display of Diseasesinfo activity ParentView:
This is Expendable list View in which the record is shown that is a parent View.parent
view activity look like this.
50. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 50
5.5 Display of Diseasesinfo activity Child View:
This is Expendable list View in which the record is shown that is a Child View .parent
view activity look like this.
51. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 51
5.6 Display Of Diseases DescriptionActivity:
This is diseases description in which the record is shown user press on button get the
required info like facts,causes,symptoms etc.activity look like this.
52. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 52
5.5 Display of Diseasesinfo description Dialog:
This is diseases description in which the record is shown user press on button get the
required info like facts,causes,symptoms etc. Here is show symptoms dialog of disease.
Dialog look like this.
53. Health Care:
Department of CS & IT Muhammad Imran MCS(Morning)Roll#26 Page 53
References:
1) java_2_complete_reference_5th_edition
2) A Programmer’s Guide to Java Certification (Second
Addition)
3) The Java Tutorial Fourth Addition
4) www.android.com
5) www.androidtap.com
6) www.xda-developers.com
7) www.EDUMOBILE.com
8) www.Vogilla.com
9) www.Hivdevelopers.com
10) Androidandme.com
11) Developer.android.com
12) www.android.Example.com
13) Downloads the lectures of java through Internet. Downloads
the lectures of android through internet.
14) http://www.medicinenet.com/diseases_and_conditions/articl
e.htm
15) http://www.ranker.com/list/list-of-common-diseases-most-
common-illnesses/diseases-and-medications-info
16) http://www.infoplease.com/ipa/A0903696.html