Chapter: 1 Introduction of Project

fullfattruckMobile - Wireless

Dec 10, 2013 (3 years and 10 months ago)

98 views

0904700015 Android for
Alzheimer


Introduction




1

VVPIT








Chapter: 1 Introduction of Project



0904700015 Android for
Alzheimer


Introduction




2

VVPIT


1.1

Introduction

This project is about the development of an Android application for Alzheimer patients.

It aims at non
-
human care taking of these patients, thus making them independent of their
care takers.
The various features of this project are designed keeping in mind the various
symptoms of these patients. This project is a healthy initiative, to help Alzheimer patients
and make them most independent of their care
-
taker with the help of technology.


What

is Alzheimer?

Alzheimer is the most common form of dementia, which is almost fatal. Its main
symptoms are long term memory loss,

confusion,
irritability & aggression, mood swings,
trouble with language, missing out on daily routines.

A research says that more than 26.6 million people suffer
from

Alzheimer. Hence this
project aims at helping the society at large via technology.



0904700015 Android for
Alzheimer


Introduction




3

VVPIT


1.2
Why this project?


After a lot of research, a study indicated that currently more than 26.6 million peo
ple are
suffering from Alzheimer. That is the society at large is affected by this disease. This disease is
most commonly found in age group of 65+.


Hence to provide a heal of cure and support to these patients, who are the most dependent
and less concent
rated subject(disease) of the society, this project aims to help these patients and
make them independent of their care
-
takers.



0904700015 Android for
Alzheimer


Introduction




4

VVPIT



1.3 Features:



Phone tracking through GPS:

Since Alzheimer patients have a low memory problem they frequently
forget as to

where they were heading. This GPS feature will guide them to their
destination.




Pop
-
up message on banging of phone:

Alzheimer is found mostly in age group above 65. Because of low mental
balance and loose neural connections in their brain they have a ten
dency to fall
down very often. Thus there is a probability that when their phone bangs it might
be because they have fallen down. This feature will thus give an alert to the
caretaker of the patient whenever he/she falls, indicating a risk of damage.



Menta
l Exercise :

Alzheimer patients lose the ability of brain to create, remember and relate
to others that can leave a negative impact on their personal life. So as a part of
their mental exercise we hereby design a feature with which they can relate the
name
s and faces of their near and dear ones.



Balanced Diet :

Alzheimer patients need to follow a strict diet and tablet routine. So this
feature, when feeded in with their lunch time,dinner time, and the tablet routine
along with the name and pic of the tablet

would give them a timely reminder.



Routine Manager:

This feature will take as an input of their all “to
-
do
-
activities” for the day
and will give an alert for the same.

Then what is innovative??? :

When they will reach at a desired destination, automatica
lly, this feature will alert
them about the activities to be performed there.




General reminder:

Since Alzheimer patients have a low memory problem they frequently
forget to carry the phone with them, charge the phone, recharge the Internet
connection, fee
d routines etc. This feature would give them a timely reminder.


0904700015 Android for
Alzheimer


Introduction




5

VVPIT



1.4

Scope:



Scope of this application extends to help the Alzheimer patients

using the latest
technology
.




It aims at dealing with patients that fall in the age group of 65+.



Alzheimer also

prevails in kids and youngsters but it is not fatal and

can be recovered.



But Alzheimer found in age group of 65+ is almost fatal. So, this application covers
people with age group of 65+.



This application is only available in English language.



0904700015 Android for
Alzheimer


Introduction




6

VVPIT


1.5 Sho
dh Yatra
:

Our team did a lot of Research in areas of finding the problem faced by society.
We basically reviewed two major Categories prevailing in the society:


I. Areas covered and uncovered by technology.


II. People approached and neglected by technolo
gy.

Then our team
came up with an original idea after a lot of research.

Keeping in
mind the motive to h
elp the Society and learning a latest technolog
y, we came up with
the idea of t
his project. Our research says that more than 26 million people are curre
ntly
suffering from Alzheimer which is almost fatal. So to help these kinds of people in our
Society, we landed on the idea of making an Android application for them.

Hence most
fatal disease is selected and a solution to
it is proposed via this project
.











0904700015 Android for
Alzheimer


Introduction




7

VVPIT


1.7 Technology Used:



OS : Android 2.2(Froyo)



Programming platform : Eclipse Helios



Emulator : Android 2.2



Device : Sony Ericson Xperia



0904700015 Android for
Alzheimer


Introduction




8

VVPIT


1.
8 Why this Technology? :

Android is Open Source Project (AOSP) is led by Google, According

to the project "The goal of
the Android Open Source Project is to create a successful real
-
world product that improves the
mobile experience for end users." AOSP also maintains the
Android Compatibility Program
,
defining an "Android compatible" device "as

one that can run any application written by third
-
party developers using the Android SDK and NDK", to prevent incompatible Android
implementations. The compatibility program is also optional and free of charge, with the
Compatibility Test Suite

also free
and open
-
source.



Multitasking
:

On Android, as in a desktop operating system, applications can truly run in the background; on Android,
IM can be almost indistinguishable from texting.



Intents
:

Android is an intent based operating system. What this means
from a user’s perspective is a
richer more deeply integrated experience.



Navigation
:

Newer version of android has a turn by turn navigation application by Google which uses data
from Google Maps.



Voice typing and actions:

Control your Android device with
your voice. Simply touch the microphone on the keyboard and
start talking to write emails, SMS, or any other text


more than 30 languages supported. Text
appears in real time, so there’s no waiting.



Photos and videos:

Capture special moments with great p
hotos and videos, explore your shots and quickly share
your favorites in any way that you want.



Search the web:

The fastest

and easie
st way to find what you need on the web and your phone or tablet. Enjoy the
power of Google search wherever you are.

0904700015 Android for
Alzheimer


Introduction




9

VVPIT



The W
orld’s Most Popular Platform

Millions of people already use Android because it makes your mobile device so much more
powerful and useful. On Android, the home screen, web browser, email and everything in
between are designed to make your life easier. And
because Android is open, you can create a
unique mobile experience that’s just right for you



Widgets

Put the important stuff right within reach and interact with your favorite apps directly from your
home screen with widgets


see the latest sport scores,

view your favorite photos, check the
weather or peek at your inbox all without having to open different apps or leave the home screen.



Notifications

An easy
-
to
-
read notification tray gives you quick access to your calls, incoming texts, and new
emails i
n a non
-
intrusive way.



Market reviews of android:



As per latest 2012 market study, android phones have beaten down the records of all
smart phones.



Android technology is at the boom amongst all smart phone technology available.







0904700015 Android for
Alzheimer


Introduction




10

VVPIT

















Chapter: 2 Software Requirement Specification







0904700015 Android for
Alzheimer


Introduction




11

VVPIT


2.1

System Requirement Specification


2.1.1
User Characteristics:

Android Application for Alzheimer has mainly one type of user
.

Normal User (Employee/ Client)


The client or the normal user will be an
Alzheimer patient, who falls under the age group
of 65+.

The client will have access to all the various features offered by this project.

The client can enter all the necessary required pre
-
usage data like: his schedules, name of
tablets along with its ima
ges, name of their relatives along with their images, their source
and destination address etc. and can make efficient use of the application.

The application will store all the details provided by the client and hence provide its
functionality accordingly
.




0904700015 Android for
Alzheimer


Introduction




12

VVPIT


2.1.2

HARDWARE AND SOFTWARE REQUIREMENTS

Hardware Requirements:

Client Configuration

Android Phone

OS: 2.2 Frozen Yoghurt (Froyo) and onwards versions of Android...

Android Phones do not need any additional memory card support.


Software
Requirements:

Tools/Technology

Front
-
end



Android 2.2



SQLite
.



Android supportable Phone




Eclipse Helios
.

Back
-
end

Device


Editor

Operating System



Android 2.2 Froyo
.


Network Requirements





Strong
Internet Connection
.



0904700015 Android for
Alzheimer


Introduction




13

VVPIT


2.1.3 CONSTRAINTS



Hardware

Limitations


All the major hardware limitations or requirements have been specified above.




Interface





User Interface



The User
-
Interface
is with the GUI of the various features offered by this
application.




Hardware Interface



T
he internet connection

i
s required in the cell phone that is hosting the
application.






Software Interface


The application will be interacting with
Android 2.2 Froyo version and all the higher
versions of Android also.


Depending upon the Android version with which the
application interacts, it acts
accordingly.




Parallel Operations




Higher Order Language Requirements:







0904700015 Android for
Alzheimer


Introduction




14

VVPIT

2.2 Use case diagram:

2.2.1
Use case diagram for user:
User
find the desired
path
Record path
Use recorded path
Manage food and
tablet
Metal excirese
enter to
-
do list
Get the help form
Caretaker
«uses»
Prescription
«extends»
add the notes
«extends»
alarm for the help
«extends»

0904700015 Android for
Alzheimer


Introduction




15

VVPIT

2.2.2 U
se
c
ase diagram for care taker:

Care Taker
Enter cartaker
number
edit care taker
number
Find the current
loation of user




0904700015 Android for
Alzheimer


Introduction




16

VVPIT

2.2.3
Use case diagram for Google map:

Google map
find the path to
the destination
Display the path
Detect the current
location of the user




0904700015 Android for
Alzheimer


Introduction




17

VVPIT

2.3 Data flow diagram:


2.3.1 Data flow diagram 0:




Android
application
for Alzheimer
User
Google map
Request for services
Provide services
Request for path and location
Provide path and location
Care taker
Add or edit care taker number













0904700015 Android for
Alzheimer


Introduction




18

VVPIT




2.3.2 Data flow diagram 1:


User
Search path
Record path
Use recorded
path
Manage food
and tablet
Mental
exercise
Request for Find the path
Request for record path
Retrieve recorded path
Request for manage the routines
Request for playing game
Data Base
Data Base
Data Base
Google map
Find the path
Care taker
Add caretaker number
Data Base
Fetch current location of the user




0904700015 Android for
Alzheimer


Introduction




19

VVPIT

2.4 Flow of the
project:


2.4.1 Activity Diagram:

Enter into the system
find path
enter sourse
record path
select Food manager
select Tablete manager
select Precription manager
use recorded path
food
&
tablet manager
enter destination
show path
recording start
store path
enter source
enter destination
select path
show path
to
-
do list
add notes
add reminder
add task
enter break fast time
enter lunch time
enter dinner time
tablet name
tablet image
tablet timing
enter tablet name
enter no of tablet
enter no of tablet per day



0904700015 Android for
Alzheimer


Introduction




20

VVPIT

2.4.2 Sequential diagram:

:
user
:
system
:
google map
Enter in the system
welcome message
Request the path
enter source and destination
show the path
request source and destination
request the path
show path
Find the path


0904700015 Android for
Alzheimer


Introduction




21

VVPIT




0904700015 Android for
Alzheimer


Introduction




22

VVPIT




0904700015 Android for
Alzheimer


Introduction




23

VVPIT




0904700015 Android for
Alzheimer


Introduction




24

VVPIT

2.5 Project Feasibility:

A feasibility study is a short, focused study, which aims
to answer a number of questions:




Does

the application

contribute to
satisfy the overall requirements of the User
?



Can the application

be implemented using current technology and within giv
en cost and schedule
constrains?



Can the application

be integrated with systems which are already in plac
e

or any other higher
versions in future
?


There are various types of feasibility studies.



Operational



Technical



Scheduling



Economical



2.5.
1 Operational feasibility
:

The factors concerned in it are as follows:



How well the application will work
and how

will the end
-
users feel about the application?
.



This

type of feasibility
testmeasures the urgency of problem or the acceptability of a solution to find:
Is the problem worth solving?



With the help of strong internet connection and an Android 2.2 supporta
ble phone, all the features
provided within this application will operate smoothly avoiding any sort of operational issues.


2.5
.2 Technical feasibility:

The technical issues usually raised during the feasibility stage of
the investigation include
the
following points:



Does the necessary technology exist to do what it is suggested (and can be it required)?



Are developers aware of these technologies?



Are there technical guarantees of acc
uracy, reliability and

security?



Can the application

be expanded if
developed?




2.5
.3 Schedule Feasibility:

It is the measure of how reasonable the project time
-
table is. Schedule can be mandatory
or desirable. It’s better to deliver a
properly functioning system late than to deliver an error
-
prone.
The time involved in de
veloping this application is around 8
-
10 months.


2.5
.4 Economic feasibility:

An application

that can be developed technically and that

will be used if installed is still
a
good investment for the organization

who purchases it
. .Financial benefits must
equal or exceed
the cost
s incurred to develop the application
. Some of the questions that are generally raised are
as follows:



0904700015 Android for
Alzheimer


Introduction




25

VVPIT




Will it be economical for the end
-
user to use the application on day
-
to
-
day basis, after meeting all
the requirements needed t
o operate the application
?



How much profit can be earned fro
m the application
?



Would it be cost
-
effective to develop the application

or it is worthwhi
le to remain with current one,
if available
?




Factors Considered for Financial and Economic Feasibility:



The application

to be developed
would use Android
as the deve
lopment
technology and Eclipse Helios
as the development platform.

Android already is open source
technology
. So there would be no additional funding that would be required to develop the
propose
d system.









0904700015 Android for
Alzheimer


Introduction




26

VVPIT












Chapter : 3 Database Implementation














0904700015 Android for
Alzheimer


Introduction




27

VVPIT

3.1 WIREFRAME
:

Home Page:



Mind Game:


0904700015 Android for
Alzheimer


Introduction




28

VVPIT

Record Path:



Task:


0904700015 Android for
Alzheimer


Introduction




29

VVPIT

Add Notes:



Use Recorded path:



0904700015 Android for
Alzheimer


Introduction




30

VVPIT

Where you want to go?















0904700015 Android for
Alzheimer


Introduction




31

VVPIT

3.2 Database Implementation:


3.2.1 E
-
R Diagram:
























0904700015 Android for
Alzheimer


Introduction




32

VVPIT

3.2.2 Database Coding:














0904700015 Android for
Alzheimer


Introduction




33

VVPIT

3.2.3 Data Dictionary:

1)

Care
-
taker M
anagement
:

S.NO

Field Name

Data Type

Description

1

Care_id

Number

Stores id
for identification of Caretaker.

2

Cname

Text

Stores name of Caretaker.

3

Caddress

Text

Stores address of Caretaker.

4

Cph_no

Number

Stores phone number of Caretaker.


2)

Prescription Management:

S.NO

Field Name

Data Type

Description

1

Pres_id

Number

Stores id for identification of Prescription

2

Pname

Text

Stores name of Tablet.

3

Count_tab

Number

Stores number of tablets.

4

Total_tab

Number

Stores total number of tablets.


3)

Record Path Management:

S.No

Field Name

Data Type

Description

1

P_id

Number

Stores id for identification of Path.

2

Source_name

Text

Stores name of Source.

3

Desti_name

Text

Stores name of Destination.

4

Path

Text

Stores name of Path.


4)

To
-
Do List:



Reminder:

S.No

Field Name

Data Type

Description

1

R_id

Number

Stores id
for identification of Reminder.

2

Timing

Date&Time

Stores Time for doing a Task.

3

Describe

Text

Stores description of the task to be done.




0904700015 Android for
Alzheimer


Introduction




34

VVPIT



Notes Management:

S.No

Field Name

Data Type

Description

1

N_id

Number

Stores id for identification of Notes.

2

Notes

Text

Stores description of notes.




Task:

S.No

Field Name

Data Type

Description

1

T_id

Number

Stores id for identification of Task.

2

Task

Text

Stores description of Task.

3

Desti_name

Text

Stores name of Destination.



5)

Tablet_Timing

Management:

S.NO

Field Name

Data Type

Description

1

Tab_id

Number

Stores id for identification of tablet time.

2

Tname

Text

Stores name of Tablet.

3

Image

Image

Stores image of Tablet.

4

Count_tab

Number

Stores number of Tablet.


6)

Food_Timing

Management:

S.NO

Field Name

Data Type

Description

1

F_id

Number

Stores id for identification of food time.

2

F_time

Time

Stores time of Food.

3

Desc

Text

Stores description of Food Time.


7)

Game Management:

S.NO

Field Name

Data Type

Description

1

G_id

Number

Stores id for identification of Game.

2

Score

Number

Stores score of the game.

3

Image

Image

Stores image of person used in game.

4

Desc

Text

Stores desc about whose image is stored.

5

Level

Number

Stores the level reached in the game.


0904700015 Android for
Alzheimer


Introduction




35

VVPIT







Chapter 4: Testing Methods





















0904700015 Android for
Alzheimer


Introduction




36

VVPIT

4.1 White Box Testing:

White
-
box testing

(also known as
clear box testing
,
glass box testing
,
transparent box
testing
, and
structural testing
) is a method of testing
software

that tests internal structures or
workings of an application, as opposed to its functionality (i.e.
black
-
box testing
). In white
-
box
testing an internal perspective of the system, as well as programming skills, are used to design
test cases. The tester ch
ooses inputs to exercise paths through the code and determine the
appropriate outputs. This is analogous to testing nodes in a circuit, e.g.
in
-
circuit testing

(ICT).

While white
-
box testing can be applied at the
unit
,
integration

and
system

levels of the
software testing

process, it is usually done at the unit level. It can test paths within a unit, paths
between units during integration, and between subsystems during a system

level test. Though
this method of test design can uncover many errors or problem
s, it might not detect
unimplemented parts of the specification or missing requirements.

4.1.1 White
-
box test design techniques include:



Control flow testing



Data flow testing



Branch testing



Path testing



Statement coverage



Decision coverage

4.2
Black
-
box
testing
:


Black
-
box testing

is a method of software testing

that examines the functionality of an
application (e.g. what the software does) without peering into its internal structures or workings.
This method of test can be applied to virtually every level of software testing:
unit
,
integration
,
system

and
accepta
nce
. It typically comprises most if not all higher level testing, but can also
dominate
unit testing

as well
.


0904700015 Android for
Alzheimer


Introduction




37

VVPIT

4.2.1
Test procedures
:


Specific knowledge of the application's code/internal structure and programming
knowledge in general is not required. The

tester is aware of
what

the software is supposed to do
but is not aware of
how

it does it. For instance, the tester is aware that a particular input returns a
certain, invariable output but is not aware of
how

the software produces the output in the first
place
.

4.2.2
Test cases
:


Test cases are built around specifications and requirements, i.e., what the application is
supposed to do. Test cases are generally derived from external descriptions of the software,

including specifications, requirements and design parameters. Although the tests used are
primarily
functional

in nature,
non
-
functional

tests may also be used. The test designer selects
both valid and invalid inputs and determines the correct output with
out any knowledge of the test
object's internal structure
.

4.2.3
Test design techniques
:


Typical black
-
box test design techniques include:



Decision table

testing



All
-
pairs testing



State transition tables



Equivalence partit
ioning



Boundary value analysis





0904700015 Android for
Alzheimer


Introduction




38

VVPIT



Conclusion:

Hereby we conclude that, the android application serves its purpose of helpin
g the
Alzheimer patients through
its various features.

With the motto of helping the society at large ,

the features are so designed technically
that they help to recover the various symptoms of Alzheimer patients. The various features
include Google Maps for GPS Tracking, Mind Game to improve their logic and memory,
Food and Tablet manager to manage their

food and tablet schedules, Reminder to remind
them so that they can carry out their daily routines.

Hence we conclude with a complete Android Project to help out the Alzheimer Patients
in the society.













0904700015 Android for
Alzheimer


Introduction




39

VVPIT



References:



www.developer.android.com



www.androidhive.com



www.stackoverflow.com



www.talkandroid.com



www.android.com



http://thenewboston.com



Developing Android Application by Pearson publications
.