OVIDIUS University of Constant a [616591]

Ministry of National Education
"OVIDIUS" University of Constant a
Faculty of Mathematics and Computer Science
Degree Program: Computer Science
Home Assistant for Elderly People
Scienti c Adviser:
Conf. dr. Pelican Elena
Student: [anonimizat] a
2018

Resume
Aletheria
.paltforma: android
.domeniul principal:
.domenii adiacente: inteligent  a arti cial a, recunoa stere facial a
.tipul lucr arii: sintez a
Aletheria
.paltform: android
.main domain:
.secondary domains: arti cial inteligence, facial recognition
.type: synthesis

Outline
Outline 1
1 Our Problem 2
2 Features 3
3 Solutions 4
3.1 Reminder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2 Chatbot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4 Application 6
5 Future works 7
References 8
1

Chapter 1
Our Problem
This idea came to life from the desire of easing the lives of elderly people. How
will it ease their lives? Simple! This application is designed to the needs of the
elderly,having features that will help them throughout the day.
I gave this application the name of "Aletheia", which is a greek word that can be
translasted as truth or disclosure. But there is also a literal meaning to the word, the
state of not being hidden or being evident.
The reason why I chose this word was because, being the oposite of the word
lethe that can be translated to forgetfulness, oblivion or concealment, I believe that it
captures the essence of what this application is built for.
2

Chapter 2
Features
Up until now the application contain three functional features:
.Reminder
.Chatbot
.Face recognition
Reminder
I thought of the application to have a reminder activity that will help the user re-
member activities or events. For example this part of the application could be used
for taking pills, or checking every night before bedtime if the doors and windows are
closed. This activity has the following functionalities:
.a date picker, so the user can choose the data of a certain event or activity
.a time picker, so the user can choose the time of the said activity or event
.a repeat function, so the user can choose if the activity he is creating is a repeating
one or not
.a repetition interval, so the user can choose the interval of the repeating activity
.the type of repetition, e.g hourly, daily, weekly etc.
Chatbot
The application has integrated a chatbot functionality mainly to help entertaining the
elders, helping them in di erent activities and socialize with them.
Face recognition
The last functionality is it for a rather extreme case. I thought about integrating a
facial recgnition in the application so it can be used mostly by people who su ers from
alzheimer and they cannot recognize even their family.
3

Chapter 3
Solutions
3.1 Reminder
This feature has three activities:
.ReminderActivity – this activity contains the main layout and calls the other
activities when needed.
.ReminderNewActivity – this activity is called only when the user wants to create
a new reminder
.ReminderEditActivity – this activity is called when the user wants to edit the
details of an already existing reminder
Beside the three activities mentioned above, this features also contains three java
classes: DateTimeClass (this class creates date and time objects for a easier sort-
ing), ReminderClass (is used for setting and getting the data) and the Reminder-
DatabaseClass (which is used to create the database "AletheiaDatabase" with the
ReminderTable, it is also responsabile for inserting, updating and deleting data from
the table). The last two components of this feature are the recievers: BootReciever
(is used for getting the data from the layout) and AlarmReciever (which is used for
processing the data and sent a noti cation when the time is right).
For this part of the application I have used for the database the SQLite library, for
the recievers I used BroadcastReciever, WakefulBroadcastReciever and IntentService,
because WakefulBroadcastReciever is not available for api 22 (Oreo) so in order to
recieve noti cation on devices with the lates android version on them I had to use two
di erent recievers.
The icons that can be seen throughout the application are from [3]. For the layout
I used the FloatingActionButton from [2] and the date and time picker from [4].
4

Solutions Chatbot
3.2 Chatbot
This feature contains only one activity: ChatbotActivity (the main window of the
Chatbot feature), one Adapter: ChatMessageAdapter (the class that helps at exchang-
ing messages between the user and the bot) and one java class ChatMessageClass (is
used for setting and getting the content of the message)
5

Chapter 4
Application
This application was developed using [1] with java. For the icons I used [3].
6

Chapter 5
Future works
In the future I plan to integrae
.speech recognition so the user can communicate easily with the chatbot without
needing to write. I plan to integrate both speech-to-text and text-to-speech so it
will make a more enjoyable communication between the man and machine.
.google maps so that the users can know the path back home, or to the doctor
or to the store, or anywhere else. This feature will have a table that contains
some crucial information such as: the home address, the doctor address, the
store address, the park address. With this data I wil draw the minimum distance
between two points such as: the user wants to go to the store from home, he will
select the destination location and the app will shortly show the most favorable
route to the destination from the current location.
.a medical log so that if the user knows what pills they have alergies to, etc.
7

References
[1] Android studio.
[2] Getbase
oatingactionbutton.
[3] Material design icons.
[4] Wdualle rmaterial datetime picker.
8

Similar Posts