SlideShare a Scribd company logo
International Journal of Trendy Research in Engineering andTechnology
Volume 3 Issue 2 April 2019
__________________________________________________________________________________________________________
13
www.trendytechjournals.com
NUDGE - A DAY PLANNER ANDROID APPLICATION
USING ARTIFICIAL INTELLIGENCE
Ms. MADHUMITHA.R1
, Ms. ADITHI.G1
, Mrs. RAMYA DEVI.R2
1,
Final year students, 2
Assistant Professor,
Department of Computer Science and Engineering,
Velammal Engineering College,Chennai 66,India
Abstract— In this engaged life, people tend to forget
scheduling their meetings and events that are very
important in their day to day life. They wish to have
someone who keeps on prompting them to lineup the work
and to make sure that they accomplished the scheduled
task on time. The solution to this problem is proposed
through an Android Application named “Nudge” using
artificial intelligence. This application is built using
Android Studio IDE 3.3 released by the Google. The
application is used to trigger alarms based on locations,
where the user can set a reminder to a location and select a
range within which the alarm should be triggered. Once
the user move into that range, the alarm goes on. This
application is also used to set reminders based on the mails
the user receives. Suppose, if a user receives a mail
containing any schedule for a meeting or an event, this
application will automatically set a reminder to that
particular event in the OS calendar. This application also
includes facility to directly set a reminder to the OS
calendar.
Keywords-Location, reminder, alarm, calendar, gmail, date
INTRODUCTION
Scheduling and tracking any event or meeting in our day to
day life is becoming a necessary and frequent task today.
There are many tasks awaiting to be completed in
everyone’s life. As android mobile phones are commonly
used, a solution for this problem is proposed through an
android application. Through mobile applications, tasks,
events, meetings in one’s life can be scheduled and tracked
in an interactive way. This paper involves in the
development of a mobile app called Nudge.
Nudge is an android app developed for scheduling and
tracking any task, meeting or event of the user. It is used to
set location based reminders and also to set reminders in the
OS calendar using the information retrieved from the unread
messages from gmail that has been synced with the
application.
The app is designed for user to select a location and a
specific range for the location. When the user moves into
that particular range of the specified location, the alarm goes
on. Thus the user can be aware of being entered into the
range of that location.
The application uses Google maps for selecting the location
and GPS to track the current location of the user. The app
also retrieves date from the unread messages from gmail
and automatically sets a reminder on that date in the OS
calendar of the mobile device. Thus Nudge will save a lot
of the user’s time.
I. LITERATURE SURVEY
Global positioning system (GPS) plays an important role
as the positioning of the specific location is done by
Global Positioning System(GPS) which is a space- based
radio navigation system. It is owned by United States
government and operated by the United States Air
Force.GPS is normally used for positioning of the specific
location. The location pointing is done with the help of
time and the known position of satellites. These satellites
carry atomic clocks that are synchronized with one and
other to ground clocks. Moreover, the satellites position is
known precisely. The location detection is done by GPS.
The clocks which are attached to the receiver is not
synchronized with the true time and are less stable. Since
the GPS operates independently, one can use GPS service
anywhere and at any time. The position of the user is
found by GPS by calculating the difference in the time
between the receiver signal and the satellite signal.
The latest technology allows the integration of GPS with
smart phones. Hence it is very easy to get the exact
location of the user via the smart phone. In the Android
platform there is a class named Location Manager which is
used for finding the location of the user.It specifies the
location in terms of latitude and longitude. The Location
Listener interface in android is used for receiving the
notifications from the Location Manager. Normally the
notifications are received when the location changes.
When the location is changed, the on Location Changed
method gets called and the specified action can be done.
By this, location of the user can be received in terms of
latitude and longitude by the app.
Using GPS will normally increase the accuracy and
reliability when the masking angles are high. The
application also uses Notification Handler class to send
notification to the user. This Notification Handler is used
to pin a notification onto the
International Journal of Trendy Research in Engineering andTechnology
Volume 3 Issue 2 April 2019
__________________________________________________________________________________________________________
14
www.trendytechjournals.com
notification bar to indicate that the application runs services in
the background. Another web mapping service which provides
the customer – service provider based services is Google
Maps. Google Map shows all the available services which are
near to the customer.
One of the most commonly used medium for reminder is the
mobile phone assistants such as Google Assistant, Siri, Alexa,
etc. The services are made available as a built in feature in the
mobiles or as a device featured assistant. There are also other
android applications that are used to set reminders. These
reminder applications require a date and a time to set the
reminder and most rarely requires a note or a label for the
reminder. When the user wants to set any reminder, he either
uses the reminder application or he vocally gives the date and
time to the mobile assistant.
The disadvantage of using the reminder application is that, it
is very typical. It cannot be used to set reminders based on any
other data other than date and time. The notification of the
alarms by the mobile assistants are not so interactive,
moreover the alarms the unseen.
II. SYSTEM ARCHITECTURE
The system providing reminder services uses android in the
foreground with the background services written using SQLite
database. The block diagram of the system architecture is
depicted in Fig. 3.1.
The location of the user is detected with the help of GPS. The
application has two functional modules, one is for the location
based alarm and the other is to set the reminder to the OS
calendar either directly or by syncing the gmail with the
application. In the location based alarm module, when the user
creates a new location based alarm the application uses the
firebase to load the Google maps. The user selects the location,
range and many other additional information needed for the
reminder. The application converts the location into latitude and
longitude format and stores all the information provided by the
user into the SQLite database in the table format. Now this
module lets the service run in the background and continuously
checks for the current location and the destined location. Once
the user moves into the specified range of the location, the alarm
goes on.
In the Gmail based alarm module, the user syncs his gmail
account to the Nudge application and the OS calendar in the
mobile phone.
Fig. 3.1 System Architecture
If the user receive any mail having a date for any meeting or
event and particularly the mail is unread, the Nudge
application retrieves the date and sets the reminder to the OS
calendar. The user can also directly set reminder to the OS
calendar by selecting the create reminder option and select
the desired date.
III. DESIGN AND IMPLEMENTATION
The reminder application Nudge can be deployed in android
mobile phones to schedule and track the tasks, meetings or
events. It is built containing two mobile app modules which
are briefed as follows.
A. Location based alarm
This module includes four activities or pages from the
International Journal of Trendy Research in Engineering andTechnology
Volume 3 Issue 2 April 2019
__________________________________________________________________________________________________________
15
www.trendytechjournals.com
Nudge application. The first activity which is also the home
page of the application displays the list of all location based
alarms, active and pending tasks inclusive. It has a
dashboard and a add task button on it as shown in theFig.
4.1. It also has a switch button to ensure that the application
is allowed run services in the background.
.
Fig. 4.1. Home Page
By clicking the add task button opens the add task activity,
where the user can select the location, range and the
additional information to the reminder. This page has a
save button to save the details of the reminder in the
SQLite database. It has a facility to select whether to
trigger alarm or simply vibrate the mobile phone and many
other facilities like adding a note and image to the
reminder which will be displayed while triggering the
alarm. It also allows to select the time duration and repeat
mode of the reminder. It is shown in the Fig. 4.2.
ig. 4.2. Add
Task
While selecting the location the Nudge application uses
Firebase json file to load the Google maps. The map pops
up over the activity and allows the user to select the
location from the map and also provides a list of popular
places around the location from which the user can easily
select the desired location just by clicking it. The Google
maps page is shown in the Fig 4.3.
International Journal of Trendy Research in Engineering andTechnology
Volume 3 Issue 2 April 2019
__________________________________________________________________________________________________________
16
www.trendytechjournals.com
Fig. 4.3. Google map
Now, the reminder is set. The goal is to trigger the alarm when
the user moves into the specified range of the destined
location. To accomplish this task, the Nudge application
continuously compares the user’s current location (mobile’s
location using GPS) with the destined location. When the
location difference lies within the specified range, the alarm
goes on as shown in Fig.4.4.
Fig. 4.4. Alarm
Once the alarm goes on, there are two options given to the
user. The user can either mark the reminder as done so that
the status of the reminder is marked as done and the
reminder is not repeated or the user can snooze or
postpone the reminder for a few minutes. The facility to
change the snooze timing, alarm tone, default range, etc.
are given in the settings activity in the dashboard activity
as shown in Fig. 4.5.
Fig. 4.5. Settings
There is an option called power saver mode in the settings
activity. If this option is enabled, then the amount of battery
consumption is reduced as much as possible which may affect
the accuracy of the GPS. IF this option is disabled, then the
accuracy of the GPS is high but it requires more battery power
from the device.
B. Gmail based alarm
This module is used to automatically set a reminder to the OS
calendar of the mobile based on the gmail received by the
user. First step is to sync the user’s gmail account to the OS
calendar and the Nudge application. To sync the user’s gmail
with the Nudge application, the user has to login the user’s
gmail account in to the Nudge application as shown in Fig.
4.6. Secondly, if the user receive any mail that contains a date
in its subject, then this application retrieves the date from the
mail’s subject using the Natural Language Processing
International Journal of Trendy Research in Engineering andTechnology
Volume 3 Issue 2 April 2019
__________________________________________________________________________________________________________
17
www.trendytechjournals.com
technique (NLP). Natural language processing (NLP) is the
ability of a computer program to understand human language
as it is spoken. NLP is a component of artificial intelligence
(AI).
The Nudge application retrieves the date from the mail
usingNLP only if the mail is unread. This application takes the
date alone from complete date retrieved from the mail and sets a
reminder to the OS calendar of the current month and current
year only. This kind of technique is used for feasibility and
efficiency purpose.
Fig. 4.6. Gmail sync
Once the gmail is synced with the Nudge application, the
application runs the services in the background. These
background services regularly checks for unread messages
in the synced gmail account, if there are any unread
messages present in the gmail account, then this application
reads the subject of the mail. If there is any date present in
the subject of the unread mail, then the Nudge application
uses the NLP to retrieve the date from the mail. This action
is done by teaching the application about the date format
using an example. Then, a reminder is set to the OS calendar
in the date retrieved from the mail of the current month and
current year.
The services regularly read the subject of the unread
messages because reading the mail every time can create
an overhead to the application. A sample gmail message is
shown in Fig. 4.7.
Fig. 4.7. Gmail
The OS calendar to which the reminder is set by the Nudge
application is shown in Fig. 4.8.
Fig. 4.8. OS calendar
International Journal of Trendy Research in Engineering andTechnology
Volume 3 Issue 2 April 2019
__________________________________________________________________________________________________________
18
www.trendytechjournals.com
The Nudge application also provides additional facility in
which we can directly set a reminder to the OS calendar. To
do so, the user has to click on the create alarm option in the
dashboard. The create alarm activity opens up. In this
activity, there are provisions which prompts for the year,
month, day, hour and minute to which the reminder should
be set. On clicking the create button, the reminder is set to
the OS calendar as shown in Fig. 4.9.
Fig. 4.9. Create alarm
IV. CONCLUSION
The application “Nudge” uses GPS to locate the user’s
mobile phone. The application allows the user to trigger
alarm based on locations. These location based
reminders are saved to the SQLite database. While
initiating the reminder, the user should provide the range
within which the alarm should go on. Once the user
moves into the specified range of the location, the alarm
goes on. The application also allows the user to sync his
gmail account to the application. By doing so, if the user
receives any mail which contains a date in its subjects
and the mail is left unread, then the Nudge application
retrieves the date from the mail and sets a reminder to
the OS calendar of the mobile phone.
The application also allows the user to set a reminder to
the OS calendar by providing the date details directly.
Thus, this application saves a lot of user’s time and helps
the user to schedule and task the user’s daily events or
meetings and also ensures that the task is accomplished on
time. The future work which are being prepared are to
make this application to analyze the user’s character based
on the user’s reminders and hence can suggest the user in
making useful decisions.
REFERENCES
1. Artificial Intelligence & Collusion: When
Computers Inhibit Competition Ariel Ezrachi&
Maurice E. Stucke
2. International Journal of Computer Science and
Mobile Computing A Monthly Journal of
Computer Science and Information Technology
ISSN 2320–088X IJCSMC, Vol. 4, Issue. 5, May
2015, RESEARCH ARTICLE Evaluation of
Machine Learning Algorithms in Artificial
Intelligence Ali Heydarzadegan1 , Yaser Nemati2
, Mohsen Moradi3 1,2 Department of Computer
Engineering, Beyza Branch, Islamic Azad
University, Beyza, Iran 3 Department of Computer
Engineering, Firoozabad Branch, Islamic Azad
University, Firoozabad, Iran
3. Android official website (2008) – “Android
official website”
4. Positioning Performance Assessment of Geodic,
Automotive and Smartphone GNSS receivers in
standardized road sensors –Andrej stern, Anton
Kos
5. Extracting the Information backbone based on
personalized time window – Bolun Chen, Yan
Yuan, Fenfen Li, Jialin Ma.

More Related Content

PDF
ONLINE BUS PASS GERANERATION AND RENEWAL SYSTEM USING MOBILE APPLICATION
PDF
MOBILE BASED WOMEN SAFETY APPLICATION REAL-TIME DATABASE
PDF
A DISTRIBUTED MACHINE LEARNING BASED IDS FOR CLOUD COMPUTING
PDF
IMPLEMENTATION OF SECURE DOOR AUTOMATION SYSTEMS USING INFRARED SENSORS
PDF
REVIEW ON: IOT BASED HEART DISEASE MONITORING SYSTEM
PDF
IOT based Industrial Automation using Raspberry Pi
ONLINE BUS PASS GERANERATION AND RENEWAL SYSTEM USING MOBILE APPLICATION
MOBILE BASED WOMEN SAFETY APPLICATION REAL-TIME DATABASE
A DISTRIBUTED MACHINE LEARNING BASED IDS FOR CLOUD COMPUTING
IMPLEMENTATION OF SECURE DOOR AUTOMATION SYSTEMS USING INFRARED SENSORS
REVIEW ON: IOT BASED HEART DISEASE MONITORING SYSTEM
IOT based Industrial Automation using Raspberry Pi

What's hot (18)

PDF
Implementation of Data Mining Concepts in R Programming
PDF
THE LORE OF SPECULATION AND ANALYSIS USING MACHINE LEARNING AND IMAGE MATCHING
PDF
NECK MOVEMENT BASED WHEELCHAIR TO ASSIST THE PHYSICALLY CHALLENGED
PDF
EFFECTIVE IN-HOUSE VOTING AND VERIFICATION USING BLOCK CHAIN IMPLEMENTATION
PDF
NEXTGEN’S HOSPILOGICS USING APACHE TOMCAT SERVER AND MYSQLDATABASE
PDF
Hazard object reporting to respective authorities
PDF
Nolong.in: an android based incident notification application with push notif...
PDF
Ijsrdv7 i10842
PDF
IRJET - Remote Health Monitoring System using IoT
PDF
Android based application for wireless control of wheelchair
PDF
Ijsrdv8 i10772
PDF
A women secure mobile app for emergency usage (go safe app)
PDF
IRJET- Travel Sequence Application
PDF
Android civil administration reporting
PDF
IRJET - Centralized Data for Transport Automation System using Android St...
PDF
IRJET- Implementation of Handling Android Application using SMS(Short Mes...
Implementation of Data Mining Concepts in R Programming
THE LORE OF SPECULATION AND ANALYSIS USING MACHINE LEARNING AND IMAGE MATCHING
NECK MOVEMENT BASED WHEELCHAIR TO ASSIST THE PHYSICALLY CHALLENGED
EFFECTIVE IN-HOUSE VOTING AND VERIFICATION USING BLOCK CHAIN IMPLEMENTATION
NEXTGEN’S HOSPILOGICS USING APACHE TOMCAT SERVER AND MYSQLDATABASE
Hazard object reporting to respective authorities
Nolong.in: an android based incident notification application with push notif...
Ijsrdv7 i10842
IRJET - Remote Health Monitoring System using IoT
Android based application for wireless control of wheelchair
Ijsrdv8 i10772
A women secure mobile app for emergency usage (go safe app)
IRJET- Travel Sequence Application
Android civil administration reporting
IRJET - Centralized Data for Transport Automation System using Android St...
IRJET- Implementation of Handling Android Application using SMS(Short Mes...
Ad

Similar to NUDGE - A DAY PLANNER ANDROID APPLICATION USING ARTIFICIAL INTELLIGENCE (20)

PDF
Androidbasedtaskschedulerandindicator (2).pdf
PDF
IRJET- Location based Task Reminder Android Application
PDF
IRJET- Location based Task Reminder Android Application
PDF
Gps enabled android application for bus
PDF
An android based advisor system for efficient vehicle driving directions
PDF
Gps enabled android application for bus
PDF
IRJET- Location based Voice Reminder
PDF
Mobile Device Application to locate an Interest Point using Google Maps
PDF
IRJET- University Campus Event Navigation System
PDF
A change of profile based on location
PDF
IRJET- A Review on Budget Estimator Android Application
PDF
IRJET - Optimized Travel Planner
PDF
Commuteaze - Smart Ticketing app
PDF
DESIGN AN AR APPLICATION IN FINDING PREFERRED DINING PLACE WITH SOCIAL NETWOR...
PDF
IRJET- Hand on Hand
PDF
IRJET- TRACKITUP-An Android Application to Track Multiple Users
PDF
My Places
PPTX
Presentation1
PDF
Advancement in Android Authentication System Using Direct Significance Service
PDF
10 bm60083 location_based_badge_on_a_mobile_phone
Androidbasedtaskschedulerandindicator (2).pdf
IRJET- Location based Task Reminder Android Application
IRJET- Location based Task Reminder Android Application
Gps enabled android application for bus
An android based advisor system for efficient vehicle driving directions
Gps enabled android application for bus
IRJET- Location based Voice Reminder
Mobile Device Application to locate an Interest Point using Google Maps
IRJET- University Campus Event Navigation System
A change of profile based on location
IRJET- A Review on Budget Estimator Android Application
IRJET - Optimized Travel Planner
Commuteaze - Smart Ticketing app
DESIGN AN AR APPLICATION IN FINDING PREFERRED DINING PLACE WITH SOCIAL NETWOR...
IRJET- Hand on Hand
IRJET- TRACKITUP-An Android Application to Track Multiple Users
My Places
Presentation1
Advancement in Android Authentication System Using Direct Significance Service
10 bm60083 location_based_badge_on_a_mobile_phone
Ad

More from IJTRET-International Journal of Trendy Research in Engineering and Technology (20)

PDF
A NOVEL STEP UP MISO CONVERTER FOR HYBRID ELECTRICAL VEHICLES APPLICATION
PDF
PREDICTIVE DATA MINING ALGORITHMS FOR OPTIMIZED BEST CROP IN SOIL DATA CLASSI...
PDF
Integrative detection of Human, Object movement and Fire Sensing Using LoRaWA...
PDF
WARNING SYSTEM FROM THREAT OF WILD ANIMALS USING IOT
PDF
Emission Control in CI Engine using Ethanol Emulsion
PDF
EXPERIMENTAL INVESTIGATION OF CuO NANOPARTICLES ON THERMOMECHANICAL PROPERTI...
PDF
OPTIMIZATION OF QUALITY ENHANCEMENT OF CNC MACHINING PROCESS BY USING NEURA...
PDF
Analysis of Gravity Die Casted Aluminium parts using MAGMA
PDF
PREPARATION OF PURE AND AL SUBSTITUTED LANGANITE (LA3GA5.5NB0.5O14) CERAMICS...
PDF
AN IMPROVED NONINVASIVE AND MULTIMODEL PSO ALGORITHM FOR EXTRACTING ARTIFACT...
PDF
PRINCIPLE AND APPLICATIONS OF EJECTION SEAT IN AERONAUTICS
PDF
IMAGE PROCESSING BASED INTRUDER DETECTION USING RASPBERRY PI
PDF
SENSOR DATA COMMUNICATION TO THNIGSPEAK IOT PLATFORM USING RASPBERRY P
PDF
A REVIEW ON FERRITES – ITS CLASSIFICATION AND APPLICATIONS
PDF
AUTOMATION IN ANESTHESIA ADMINISTRATION USING FIELD PROGRAMMABLE GATE ARRAY
PDF
PDF
COMBINED CHARGES DIFFICULTY EVALUATION AND TESTEES LEVEL FOR INTELLECT APPRA...
PDF
SMART APP FOR PHYSICALLY CHALLENGED PEOPLE USING INTERNET OF THINGS
A NOVEL STEP UP MISO CONVERTER FOR HYBRID ELECTRICAL VEHICLES APPLICATION
PREDICTIVE DATA MINING ALGORITHMS FOR OPTIMIZED BEST CROP IN SOIL DATA CLASSI...
Integrative detection of Human, Object movement and Fire Sensing Using LoRaWA...
WARNING SYSTEM FROM THREAT OF WILD ANIMALS USING IOT
Emission Control in CI Engine using Ethanol Emulsion
EXPERIMENTAL INVESTIGATION OF CuO NANOPARTICLES ON THERMOMECHANICAL PROPERTI...
OPTIMIZATION OF QUALITY ENHANCEMENT OF CNC MACHINING PROCESS BY USING NEURA...
Analysis of Gravity Die Casted Aluminium parts using MAGMA
PREPARATION OF PURE AND AL SUBSTITUTED LANGANITE (LA3GA5.5NB0.5O14) CERAMICS...
AN IMPROVED NONINVASIVE AND MULTIMODEL PSO ALGORITHM FOR EXTRACTING ARTIFACT...
PRINCIPLE AND APPLICATIONS OF EJECTION SEAT IN AERONAUTICS
IMAGE PROCESSING BASED INTRUDER DETECTION USING RASPBERRY PI
SENSOR DATA COMMUNICATION TO THNIGSPEAK IOT PLATFORM USING RASPBERRY P
A REVIEW ON FERRITES – ITS CLASSIFICATION AND APPLICATIONS
AUTOMATION IN ANESTHESIA ADMINISTRATION USING FIELD PROGRAMMABLE GATE ARRAY
COMBINED CHARGES DIFFICULTY EVALUATION AND TESTEES LEVEL FOR INTELLECT APPRA...
SMART APP FOR PHYSICALLY CHALLENGED PEOPLE USING INTERNET OF THINGS

Recently uploaded (20)

PPTX
Geodesy 1.pptx...............................................
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Construction Project Organization Group 2.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Well-logging-methods_new................
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Sustainable Sites - Green Building Construction
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
Welding lecture in detail for understanding
DOCX
573137875-Attendance-Management-System-original
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
PPT on Performance Review to get promotions
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Geodesy 1.pptx...............................................
R24 SURVEYING LAB MANUAL for civil enggi
Construction Project Organization Group 2.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Well-logging-methods_new................
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Sustainable Sites - Green Building Construction
CH1 Production IntroductoryConcepts.pptx
Digital Logic Computer Design lecture notes
Welding lecture in detail for understanding
573137875-Attendance-Management-System-original
bas. eng. economics group 4 presentation 1.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPT on Performance Review to get promotions
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

NUDGE - A DAY PLANNER ANDROID APPLICATION USING ARTIFICIAL INTELLIGENCE

  • 1. International Journal of Trendy Research in Engineering andTechnology Volume 3 Issue 2 April 2019 __________________________________________________________________________________________________________ 13 www.trendytechjournals.com NUDGE - A DAY PLANNER ANDROID APPLICATION USING ARTIFICIAL INTELLIGENCE Ms. MADHUMITHA.R1 , Ms. ADITHI.G1 , Mrs. RAMYA DEVI.R2 1, Final year students, 2 Assistant Professor, Department of Computer Science and Engineering, Velammal Engineering College,Chennai 66,India Abstract— In this engaged life, people tend to forget scheduling their meetings and events that are very important in their day to day life. They wish to have someone who keeps on prompting them to lineup the work and to make sure that they accomplished the scheduled task on time. The solution to this problem is proposed through an Android Application named “Nudge” using artificial intelligence. This application is built using Android Studio IDE 3.3 released by the Google. The application is used to trigger alarms based on locations, where the user can set a reminder to a location and select a range within which the alarm should be triggered. Once the user move into that range, the alarm goes on. This application is also used to set reminders based on the mails the user receives. Suppose, if a user receives a mail containing any schedule for a meeting or an event, this application will automatically set a reminder to that particular event in the OS calendar. This application also includes facility to directly set a reminder to the OS calendar. Keywords-Location, reminder, alarm, calendar, gmail, date INTRODUCTION Scheduling and tracking any event or meeting in our day to day life is becoming a necessary and frequent task today. There are many tasks awaiting to be completed in everyone’s life. As android mobile phones are commonly used, a solution for this problem is proposed through an android application. Through mobile applications, tasks, events, meetings in one’s life can be scheduled and tracked in an interactive way. This paper involves in the development of a mobile app called Nudge. Nudge is an android app developed for scheduling and tracking any task, meeting or event of the user. It is used to set location based reminders and also to set reminders in the OS calendar using the information retrieved from the unread messages from gmail that has been synced with the application. The app is designed for user to select a location and a specific range for the location. When the user moves into that particular range of the specified location, the alarm goes on. Thus the user can be aware of being entered into the range of that location. The application uses Google maps for selecting the location and GPS to track the current location of the user. The app also retrieves date from the unread messages from gmail and automatically sets a reminder on that date in the OS calendar of the mobile device. Thus Nudge will save a lot of the user’s time. I. LITERATURE SURVEY Global positioning system (GPS) plays an important role as the positioning of the specific location is done by Global Positioning System(GPS) which is a space- based radio navigation system. It is owned by United States government and operated by the United States Air Force.GPS is normally used for positioning of the specific location. The location pointing is done with the help of time and the known position of satellites. These satellites carry atomic clocks that are synchronized with one and other to ground clocks. Moreover, the satellites position is known precisely. The location detection is done by GPS. The clocks which are attached to the receiver is not synchronized with the true time and are less stable. Since the GPS operates independently, one can use GPS service anywhere and at any time. The position of the user is found by GPS by calculating the difference in the time between the receiver signal and the satellite signal. The latest technology allows the integration of GPS with smart phones. Hence it is very easy to get the exact location of the user via the smart phone. In the Android platform there is a class named Location Manager which is used for finding the location of the user.It specifies the location in terms of latitude and longitude. The Location Listener interface in android is used for receiving the notifications from the Location Manager. Normally the notifications are received when the location changes. When the location is changed, the on Location Changed method gets called and the specified action can be done. By this, location of the user can be received in terms of latitude and longitude by the app. Using GPS will normally increase the accuracy and reliability when the masking angles are high. The application also uses Notification Handler class to send notification to the user. This Notification Handler is used to pin a notification onto the
  • 2. International Journal of Trendy Research in Engineering andTechnology Volume 3 Issue 2 April 2019 __________________________________________________________________________________________________________ 14 www.trendytechjournals.com notification bar to indicate that the application runs services in the background. Another web mapping service which provides the customer – service provider based services is Google Maps. Google Map shows all the available services which are near to the customer. One of the most commonly used medium for reminder is the mobile phone assistants such as Google Assistant, Siri, Alexa, etc. The services are made available as a built in feature in the mobiles or as a device featured assistant. There are also other android applications that are used to set reminders. These reminder applications require a date and a time to set the reminder and most rarely requires a note or a label for the reminder. When the user wants to set any reminder, he either uses the reminder application or he vocally gives the date and time to the mobile assistant. The disadvantage of using the reminder application is that, it is very typical. It cannot be used to set reminders based on any other data other than date and time. The notification of the alarms by the mobile assistants are not so interactive, moreover the alarms the unseen. II. SYSTEM ARCHITECTURE The system providing reminder services uses android in the foreground with the background services written using SQLite database. The block diagram of the system architecture is depicted in Fig. 3.1. The location of the user is detected with the help of GPS. The application has two functional modules, one is for the location based alarm and the other is to set the reminder to the OS calendar either directly or by syncing the gmail with the application. In the location based alarm module, when the user creates a new location based alarm the application uses the firebase to load the Google maps. The user selects the location, range and many other additional information needed for the reminder. The application converts the location into latitude and longitude format and stores all the information provided by the user into the SQLite database in the table format. Now this module lets the service run in the background and continuously checks for the current location and the destined location. Once the user moves into the specified range of the location, the alarm goes on. In the Gmail based alarm module, the user syncs his gmail account to the Nudge application and the OS calendar in the mobile phone. Fig. 3.1 System Architecture If the user receive any mail having a date for any meeting or event and particularly the mail is unread, the Nudge application retrieves the date and sets the reminder to the OS calendar. The user can also directly set reminder to the OS calendar by selecting the create reminder option and select the desired date. III. DESIGN AND IMPLEMENTATION The reminder application Nudge can be deployed in android mobile phones to schedule and track the tasks, meetings or events. It is built containing two mobile app modules which are briefed as follows. A. Location based alarm This module includes four activities or pages from the
  • 3. International Journal of Trendy Research in Engineering andTechnology Volume 3 Issue 2 April 2019 __________________________________________________________________________________________________________ 15 www.trendytechjournals.com Nudge application. The first activity which is also the home page of the application displays the list of all location based alarms, active and pending tasks inclusive. It has a dashboard and a add task button on it as shown in theFig. 4.1. It also has a switch button to ensure that the application is allowed run services in the background. . Fig. 4.1. Home Page By clicking the add task button opens the add task activity, where the user can select the location, range and the additional information to the reminder. This page has a save button to save the details of the reminder in the SQLite database. It has a facility to select whether to trigger alarm or simply vibrate the mobile phone and many other facilities like adding a note and image to the reminder which will be displayed while triggering the alarm. It also allows to select the time duration and repeat mode of the reminder. It is shown in the Fig. 4.2. ig. 4.2. Add Task While selecting the location the Nudge application uses Firebase json file to load the Google maps. The map pops up over the activity and allows the user to select the location from the map and also provides a list of popular places around the location from which the user can easily select the desired location just by clicking it. The Google maps page is shown in the Fig 4.3.
  • 4. International Journal of Trendy Research in Engineering andTechnology Volume 3 Issue 2 April 2019 __________________________________________________________________________________________________________ 16 www.trendytechjournals.com Fig. 4.3. Google map Now, the reminder is set. The goal is to trigger the alarm when the user moves into the specified range of the destined location. To accomplish this task, the Nudge application continuously compares the user’s current location (mobile’s location using GPS) with the destined location. When the location difference lies within the specified range, the alarm goes on as shown in Fig.4.4. Fig. 4.4. Alarm Once the alarm goes on, there are two options given to the user. The user can either mark the reminder as done so that the status of the reminder is marked as done and the reminder is not repeated or the user can snooze or postpone the reminder for a few minutes. The facility to change the snooze timing, alarm tone, default range, etc. are given in the settings activity in the dashboard activity as shown in Fig. 4.5. Fig. 4.5. Settings There is an option called power saver mode in the settings activity. If this option is enabled, then the amount of battery consumption is reduced as much as possible which may affect the accuracy of the GPS. IF this option is disabled, then the accuracy of the GPS is high but it requires more battery power from the device. B. Gmail based alarm This module is used to automatically set a reminder to the OS calendar of the mobile based on the gmail received by the user. First step is to sync the user’s gmail account to the OS calendar and the Nudge application. To sync the user’s gmail with the Nudge application, the user has to login the user’s gmail account in to the Nudge application as shown in Fig. 4.6. Secondly, if the user receive any mail that contains a date in its subject, then this application retrieves the date from the mail’s subject using the Natural Language Processing
  • 5. International Journal of Trendy Research in Engineering andTechnology Volume 3 Issue 2 April 2019 __________________________________________________________________________________________________________ 17 www.trendytechjournals.com technique (NLP). Natural language processing (NLP) is the ability of a computer program to understand human language as it is spoken. NLP is a component of artificial intelligence (AI). The Nudge application retrieves the date from the mail usingNLP only if the mail is unread. This application takes the date alone from complete date retrieved from the mail and sets a reminder to the OS calendar of the current month and current year only. This kind of technique is used for feasibility and efficiency purpose. Fig. 4.6. Gmail sync Once the gmail is synced with the Nudge application, the application runs the services in the background. These background services regularly checks for unread messages in the synced gmail account, if there are any unread messages present in the gmail account, then this application reads the subject of the mail. If there is any date present in the subject of the unread mail, then the Nudge application uses the NLP to retrieve the date from the mail. This action is done by teaching the application about the date format using an example. Then, a reminder is set to the OS calendar in the date retrieved from the mail of the current month and current year. The services regularly read the subject of the unread messages because reading the mail every time can create an overhead to the application. A sample gmail message is shown in Fig. 4.7. Fig. 4.7. Gmail The OS calendar to which the reminder is set by the Nudge application is shown in Fig. 4.8. Fig. 4.8. OS calendar
  • 6. International Journal of Trendy Research in Engineering andTechnology Volume 3 Issue 2 April 2019 __________________________________________________________________________________________________________ 18 www.trendytechjournals.com The Nudge application also provides additional facility in which we can directly set a reminder to the OS calendar. To do so, the user has to click on the create alarm option in the dashboard. The create alarm activity opens up. In this activity, there are provisions which prompts for the year, month, day, hour and minute to which the reminder should be set. On clicking the create button, the reminder is set to the OS calendar as shown in Fig. 4.9. Fig. 4.9. Create alarm IV. CONCLUSION The application “Nudge” uses GPS to locate the user’s mobile phone. The application allows the user to trigger alarm based on locations. These location based reminders are saved to the SQLite database. While initiating the reminder, the user should provide the range within which the alarm should go on. Once the user moves into the specified range of the location, the alarm goes on. The application also allows the user to sync his gmail account to the application. By doing so, if the user receives any mail which contains a date in its subjects and the mail is left unread, then the Nudge application retrieves the date from the mail and sets a reminder to the OS calendar of the mobile phone. The application also allows the user to set a reminder to the OS calendar by providing the date details directly. Thus, this application saves a lot of user’s time and helps the user to schedule and task the user’s daily events or meetings and also ensures that the task is accomplished on time. The future work which are being prepared are to make this application to analyze the user’s character based on the user’s reminders and hence can suggest the user in making useful decisions. REFERENCES 1. Artificial Intelligence & Collusion: When Computers Inhibit Competition Ariel Ezrachi& Maurice E. Stucke 2. International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology ISSN 2320–088X IJCSMC, Vol. 4, Issue. 5, May 2015, RESEARCH ARTICLE Evaluation of Machine Learning Algorithms in Artificial Intelligence Ali Heydarzadegan1 , Yaser Nemati2 , Mohsen Moradi3 1,2 Department of Computer Engineering, Beyza Branch, Islamic Azad University, Beyza, Iran 3 Department of Computer Engineering, Firoozabad Branch, Islamic Azad University, Firoozabad, Iran 3. Android official website (2008) – “Android official website” 4. Positioning Performance Assessment of Geodic, Automotive and Smartphone GNSS receivers in standardized road sensors –Andrej stern, Anton Kos 5. Extracting the Information backbone based on personalized time window – Bolun Chen, Yan Yuan, Fenfen Li, Jialin Ma.