Professional Documents
Culture Documents
Awais Ilyas
M. Waqar Tahir
Supervised By
Submitted for the partial fulfilment of BS in Software Engineering degree to the Faculty of
Engineering
DEPARTMENT OF ENGINEERING
June 2012
Final Year Project GPS Location Rooster
DECLARATION
We hereby declare that our dissertation is entirely our work and genuine/original. We
understand that in case of discovery of any PLAGIARISM at any stage, our group is
assigned a F (FAIL) grade and it may result in withdrawal of our Bachelor’s degree.
Group members:
August 2012
2
Final Year Project GPS Location Rooster
CERTIFICATE
Dated:
FINAL APPROVAL
It is certified that project report titled ‘GPS Location Rooster’ submitted by Awais Ilyas and
Muhammad Waqar Tahir for the partial fulfilment of the requirement of “Bachelors Degree
in Software Engineering” is approved.
COMMITEE
Supervisor: Signature:
3
Final Year Project GPS Location Rooster
ACKNOWLEDGMENT
We thank Allah Almighty for giving us strength to complete our final year project. This
report is dedicated to our parents, those constant support and encouragement made this
degree possible.We are thankful to National University of Modern Languages for providing
us golden opportunity to study in a healthy environment to seek knowledge and improve over
skills. We would like to thank Dean, Department of Engineering & IT, Dr. Muhammad
Akbar, Hod Col. Jamil Ahmad and all faculty members for their kind help and support.
We would also like to thank our class fellows and our supervisors Engr. Sumaira Nazir and
Mr. Adeel Ahmed Siddiqui, for their continuous guidance and help us to complete this
project.
4
Final Year Project GPS Location Rooster
ABSTRACT
The Android is a wonderful platform for the smart phones that support development of
various applications. Android helps to create innovative and dynamic applications. Android
application development ranging from asset tracking to advertising, gaming to messaging and
voicing, GPS to multimedia applications. Android application development market is
booming and there is a great demand for developing custom applications for different
purposes. Android being an open source provides a flexible platform to develop feature-rich
applications.
The main objective of GPS Location Rooster is to remind the user about his/her desired
location tasks, so that user never missed their location while travelling. Location based
reminders on GPS Location Rooster is very simple. The application is integrated with Google
Maps.The user can just tap a location on the map to set a reminder task name around that
place. The Location Alert application, like the new task reminder system determines
usercurrent location using cellular towers, Wi-Fi, the built-in GPSis to point on the Google
map. Application providesthe notification alert on nearby location by setting the values of
radius e.g. (meters, kilometres, and mile). The application keeps running in the background,
waiting for the device to come within the specified radius range of a saved location, in the
event of which, it alerts the user with a notification.
5
Final Year Project GPS Location Rooster
Table of Contents
1. Introduction.......................................................................................................................1
3. Introduction.....................................................................................................................12
3.1. Purpose..........................................................................................................................13
4. System Modelling............................................................................................................19
6
Final Year Project GPS Location Rooster
5. System Construction.......................................................................................................33
6.1. Introduction...................................................................................................................45
Appendices..............................................................................................................................48
7
Final Year Project GPS Location Rooster
6. Alarm Setting.............................................................................................................56
9. Notification alert........................................................................................................59
References...............................................................................................................................61
8
Final Year Project GPS Location Rooster
List of Tables
9
Final Year Project GPS Location Rooster
List of Figures
10
Final Year Project GPS Location Rooster
Chapter 1
Introduction
11
Final Year Project GPS Location Rooster
1. Introduction
The location based services plays very important role in smartphones. Location based
services provides the guidance and navigation towards destination. Now a day’s every
smartphone have built-in features. Using the location based services of Android,
GPSLocation Rooster is developed. A location task based reminder is developed to remind
the users about his/her task location. User often set alarms and reminders on desired location.
GPS Location Rooster provides functionality on which set their location based task and
provides notification alert on desired destination, which is dynamically set by user in this
application. This application works on Google Map and location based services provide by
Android operating system. This application is based on notifications alert on user
smartphone.Setting location based task reminders is very simple. The application is
integrated with Google Maps and user can just tap a location on the map to set a reminder
around that place. User may create one-time alerts or ones that repeat on particular days (like
if auser needs to pick medicines from the Chemist every Friday).
The main objective of the GPS location Rooster is to show the current location of user on
map and toeasily select the location by tapping the screen. User can associate a radius (say,
500 meters) with the sirens so that the reminder triggers off whenever user is within a precise
distance from the specified location for notification alert. The GPS Location Rooster
application, determines user location using cellular towers, Wi-Fi and the built-in GPS.
Location based services assist the users to find their anticipated location to do their task. Now
a day’s with the growing usage of smartphones, these services are becoming more prevalent
and advantageous. Location based services worked on the basis of GPS. Through GPS
receiver in smartphone, user finds his/her current location on map and with the help of
Google Maps easily finds out the chosen location. There are some applications available on
Google Play Store, those provides prompt on location. But applications are either poorly
instigated or paid applications. Some applications have a registration process, which is
aextensive process to register it. The existing applications have features of single notification
on location. Applications do not provide the radius value to provide alert on specified
location.
12
Final Year Project GPS Location Rooster
Mobile phone based applications has brought revolution in every field of life. The Internet
and GPS services arebecoming main source of usability and to provide services to people.
The growing usage of mobile based application every user of mobile phonewants an
application which facilitate them according to their requirements.
The main objective to develop this application was to provide location based reminder to
user. A mobile based application which provides alert and notification to user for his/her
desired destination. Through Google Maps user easily get his current location on map and tap
the map to select another location for task alert. Getting the Latitude and Longitude values of
that particular location and save it letting to the new location task alert.
The systemprovide the existing location using GPS receiver in user smartphone.The system
allow user to add location task easy to select the source destination for alert notification. The
current location of user is point on Google map. Through this system user easily tap his/her
desired location of notification alert. User enters alocation task description for each
comprehensivelocation task.Select the alert radius for alert andnotification.The systempermit
user to add manifoldlocations. System display all saved location tasks on main screen.The
system allow user to remove specific location task.The system allow user to change the
preferences settings of an application.The system provides proper help to use this
application.
13
Final Year Project GPS Location Rooster
GPRS Yes
Tools and technologies used for the development of the Android application are described in
this section:
1.4.1. Android
Android operating system has growing large number community of developers writing
applicationsthat extend the functionality of the devices in all over the world and growing day
by day. Developers write the applications code in a customized way using the Java as a
programming language. Application can also be downloaded from third-party sites or through
14
Final Year Project GPS Location Rooster
1.4.4. Eclipse
15
Final Year Project GPS Location Rooster
In the first chapter the project overview, purposes, and system requirements have been
labelled. Tools and technologies have also been discoursed in this chapter. The Second
chapter provides the detail of background and related work of the project.The third chapter
the Software Requirement Specification has been debated in detail.The fourth chapter is
about the system modelling, that how the project has been designed through database and
architectural design.The fifth chapter the System Construction has been described in detail
with the help of test cases.In the last chapter, conclusion and scope of further work has been
discussed.
16
Chapter 1: Introduction GPS Location Rooster
17
Chapter 2: Background and Related Work GPS Location Rooster
Chapter 2
18
Chapter 2: Background and Related Work GPS Location Rooster
Location based applications was introduced in iPhones, where user save their favourite
location on maps and assign them. Google introduced many applications related to location
based services to help their users all over the world.
Currently there are some applications be present on Google Play Store, providing the location
based reminder on locations. Applications are poorly implemented and do not provide the
efficiency of location while travelling towards the anticipated destination. Some applications
are paid and developed for the specific region. Existing applications have not enough
configuration options, not able to select the radius of location, takes up space in notification
bar when setting notification alert it continues playing. Application requires registration
process for before using it. In Some applications configuration of maps were poorly
implemented. Applicationsdo not provide proper help of using the application. Therefore,
people need such an application that is both useful and usable to select their location task
alarm, description for the reminder and in which it help them to accomplish their location
based alarms andenable them to easily find the location user want.
There are many applications that provide location based alarm but there are some drawbacks
which make their application incomplete. Following are some drawbacks of the existing
applications:
19
Chapter 2: Background and Related Work GPS Location Rooster
Some applications used the Google maps those are poorly implemented applications
do not provide the correct location on map and also have a lot of problems while
loading the map.
20
Chapter 2: Background and Related Work GPS Location Rooster
Graphical user interface of any application is a very important aspect to interact with
the application, some application have interactive user interface but are not very
complex to understand their work flow.
The proposed system has all the features and functionalities that are not present in the
existing system. Proposed system has some general optimisations like improvements in
Google maps, current location of a person and easy to select the source destination for
notification alert. The basic objective of the system remains the same as of the existing
systems, but a major step towards improvement is the proper map configuration, provides
easy to add and remove different alarms and update them according to the user’s
requirements.
2. Location provider
This feature provide user to select the location service from application, e.g. Phone
network or GPS service.
21
Chapter 2: Background and Related Work GPS Location Rooster
9. Alarm setting
This feature provide user to select the each alarm setting, user easily select the
ringtone, vibration setting and popup message setting.
22
Chapter 2: Background and Related Work GPS Location Rooster
This application provides the approaching distance from the users current location and
the desired alarm location.
23
Chapter 3: Software Requirement Specification GPS Location Rooster
Chapter 3
24
Chapter 3: Software Requirement Specification GPS Location Rooster
3. Introduction
Software Requirement Specifications are the first step towards the development of any
system, it assessed the functional and non functional requirements of the system.
3.1. Purpose
Throughout this document, the document conventions which has been used in writing
style.Times New Roman with 16 font size for start-up pages headings, Times New Roman
with 14 font size for main heading, 12 (bold) sizes for sub heading and 12 font sizes for the
rest of the document text. The alignment of this document text is fully justified, line spacing
for the entire document is 1.5px. The APA referencing style is used for the document.
This SRS document is meant for all stakeholders like users, developers and testers. The SRS
document aims to explain in an easy manner, the basic idea behind the android application
development is to learn this emerging technology and implement this platform for future of
smartphones based application.
3.1.3. Scope
25
Chapter 3: Software Requirement Specification GPS Location Rooster
location alarm. A notification provides the location task details and alerts the user on its
specific location.
GPS:It is abbreviated as Global Positing System, used for communication with satellite.
XML:It is abbreviated as Extensible Mark-up Language, used for layout and user interface
designing in Android operating system.
The IEEE 830 standard was followed for writing this software requirement specification
document .This SRS document includes the complete and detail description of GPS Location
Rooster. It specifies all the functional and non-functional requirement, product perspective
and functions. User classes and characteristics, operating environment, assumptions and
dependence and external interface requirement.For the rest of the document, first of all define
the overall product. Then, give the external interface requirements, followed by a brief
description of the product components and features. In the last section, provided the non
functional requirements of the product.
26
Chapter 3: Software Requirement Specification GPS Location Rooster
Functional requirements are the requirements that should be fulfilled and are necessary for
the development of the system or software. Without the functional requirements, the required
objectives are difficult to achieve and system or software is incomplete. The developers of
the application are bound to achieve the functional requirements. In the development of this
application there were also some functional requirements that have been achieved.
The GPS Location Rooster provides notification alert on specific desired location, user can
save his/her source destination that he/she wants an alert on that location. Through getting
current location form GPS receiver on phone, user easily finds what his /her current location
is.
The main function of this application is to remind the task locations of user that has
dynamically set by user in application. Provide current location of the user on map. Tap the
task alert location easily on map and point a pin on it. Set the radius of particular location to
provide the notification alert on phone.
The user of the system includes smartphone as end users.The common end user can use this
application for location based task alert. So that user never missed the location while
travelling in bus, car or train, and also reminder the location task that has to be done on
particular saved location.
This application is specially designed and developed for the smartphone users. The operating
environment for this application requires any kind of smartphone which is operating through
android operating system.
The application be installed on Android based operating system. To use this application the
minimum version of Android operating system is 2.2 named as froyo.
27
Chapter 3: Software Requirement Specification GPS Location Rooster
Due to lack of knowledge about Android based application development and no proper help
available on search engines, locations routes management moduleis not implemented.
The Data network connection and GPS receiver must available, and tap the correct location
on map for notification alert.
User must be there to initiate a process, start the application, choose desired location and set
the desired task for the application.
3.5.2. ApplicationInterface
The application interface is quite simple and according to the mobile based application
designing interface. This application is integrated with SQLite database.
GPS Location Rooster interacts with several operating system applications like task manger,
application that allows sharing, network permission, and enable GPS and Internet services.
This application have specific unique Google map key, generated with MD5 and SHA1 code.
28
Chapter 3: Software Requirement Specification GPS Location Rooster
Application must have updated Google map,and it be proper loaded with all locations.
The application must show the current location of user on Google map.
User must enter a proper and valid task name of location so that it easily understand the
notification alert of that place.
Alert radius provides user to set the notification alert within specified location radius in terms
of meters, kilometres etc.
Application gets the latitude and longitude values of desired location and save as a new task
alert.
Preferences setting help the user to change the application settings e.g. Enable GPS and
Phone network services etc.
29
Chapter 3: Software Requirement Specification GPS Location Rooster
Non functional requirements are said to be the qualities of the application, in other terms
quality constraints are non functional requirements.
3.7.1. Performance
Availability of fast data network, GPS coordinates and the power source assure the
performance of the application.
3.7.2. Security
Due to strong security mechanism of Android operating system application have strong
security semantics that provide users consistent usability.
3.7.3. Usability
Application provide user friendly interface, help the user to assist during using GPS Location
Rooster.Convenient for the all stakeholders to use with implementation of help menu within
the application.
3.7.4. Reliability
The system should be available for user, if user has turned on GPS receiver and high speed
internet service, the user can access the Google map rapidly.
30
Chapter 4: System Modeling GPS Location Rooster
Chapter 4
System Modeling
31
Chapter 4: System Modeling GPS Location Rooster
4. System Modeling
A Use case is a list of steps that defines the interactions between a role and a system, to
achieve a goal. The role is called the actor who can be anexternal system or a human.
Brief Description
This use case begins when end-user executes the application. The user can click on the menu
button to open the menu of application.
Actors User
Overview The user add the task information on the desired location.
1. Use case begins as user request for 2. System open the activity menu from application
the menu item
3. User select the add task menu item 4. System redirects the user to requested menu item
Alternative Flows
32
Chapter 4: System Modeling GPS Location Rooster
None
Brief Description
This use case begins when user executes the application. The user open the main task screen
of an application and holds the specific alarm, Delete task option appear, User click on it and
delete the specific task.
Actors User
Overview The user opens the main task screen and holds the specific alarm task to
delete.
1. Use case begins as user open the 2. Application open the main task screen
main task screen
3. User holds the specific alarm task 4. System open the delete task option
Alternative Flows
None
33
Chapter 4: System Modeling GPS Location Rooster
Brief Description
This use case originates when user run the application. The user open the main activity of the
application and press the menu button to open set the preferences setting on an application.
User can set the preferences setting bestowing to application usage.
Actors User
Overview The user have to open the Preferences setting from application menu
1. Use case begins as user open the 2. System open the preferences setting activity
menu items and select preferences
3. User set the settings according to 4. System must changes the preferences setting
the requirements
Alternative Flows
None
34
Chapter 4: System Modeling GPS Location Rooster
Brief Description
This use case begins when user open the main activity of an application. The user can select
the specific alarm and hold it for two second. A popup menu appears to update alarm.
Actors Users
1. Use case begins as the user open the 2. System show all the existing alarm on main activity
application. screen
3.Userselect the specific alarm to 4. System display the menu of specific alarm.
update it.
Alternative Flows
None
35
Chapter 4: System Modeling GPS Location Rooster
Brief Description
This use case begins when user open the main activity of application. The user can select the
specific alarm and all the details of alarm display on screen.
Actors Users
1. Use case begins as the user open the 2. System shows all the existing alarm on main activity
application. screen.
3.User selects the specific alarm to 4. System displays the menu of specific alarm.
update it.
Alternative Flows
None
36
Chapter 4: System Modeling GPS Location Rooster
Users of the system are categorised in three different classes, each having diverse levels of
access rights and system usage. The system’s use case diagram is given below:
User
Enable services
Update alarms
User
Set Preferences
Select location
Description
User use case begins when user open the application. Popup window exposed, users enable
the GPS services. The system allow user to open the main screen of application, where the
entire task were displayed.
Sequence diagrams are used to describe system dynamics. Sequence diagram shows the
interaction between the objects. It is an interaction diagram that focuses on the time-ordering
37
Chapter 4: System Modeling GPS Location Rooster
of messages.Sequence diagrams are the most popular Unified Modelling Language artefact
for dynamic modelling, which focuses on identifying the behaviour within system.
User System
Run Application
Message(Ok)
This diagram describes the actual flow of information between the user and the system, user
run the application and toast menu appear to remind the user to enable GPS, Phone network
and Internet settings to precede further. User clicks the Ok button and enables the services to
use the application. It describes the sequence of use case UC-1.
38
Chapter 4: System Modeling GPS Location Rooster
User :System
Location saved
This diagram shows the flow of information between the user and the system. In which user
select the Add Task menu item form main activity and system open the new add task activity.
User fills all the prerequisite fields and also selects the desired location for alarm from
Google Map. Selected location store and user confirms to add new location task alarm in
application. The diagram describes the sequence of use cases UC-2.
39
Chapter 4: System Modeling GPS Location Rooster
User :System
Remove task
Confirm Task
Task Removed
The above diagram demonstrates the flow of information between the user and the system.
The all-inclusive alarm task list be shown in main activity of an application, user hold the
desired alarm and a toast menu open to delete the specific alarm. User confirms the message
box option and alarm remove from the main task list of an application. The diagram describes
the sequence of use cases UC-3.
40
Chapter 4: System Modeling GPS Location Rooster
User :System
Select Preferences
Settings changed
The above sequence diagram shows the flow of information between user and the system
while setting the preferences of an application. In preferences activity user set the radius of
alert location, enable and disable the GPS and internet services. These setting are changed
within this application. Without closing the application user change its whole setting. The
diagram describes the use case of UC-4.
41
Chapter 4: System Modeling GPS Location Rooster
User :System
Select Location
Close Activity
This diagram shows the flow ofspecific alarm setting, in which user select the specific alarm
and hold it for two second a popup window open with menu items, Alert here, Edit Location
and Delete the Location. The diagram refers to the sequence of use case UC-5.
42
Chapter 4: System Modeling GPS Location Rooster
This figure defines overall process of how the requests flow from end-user to server and how
the end-user be served upon their requests.First layer contains all the user interfaces i.e. Web
pages that user use to interact with the system. User request to server by clicking on the pages
and requestbe sent to the Application Logic Layer where the request by the end-user be
checked and forwarded to the Data Access Layer. In Data Access Layer, query is generated
of the request executed on the data and the response of the request be sent back to the user.
Presentation Layer
Database
43
Chapter 4: System Modeling GPS Location Rooster
Database was created in SQLite. Following is the Entity Relationship Diagram and Relational
Database Model of the mobile application.
Entity relationship diagram is intangible model for database design. It pronounces the data in
the system and relationship between the data. It describes data as entity, attributes and
relationship.
44
Chapter 5: System Construction GPS Location Rooster
Chapter 5
System Construction
45
Chapter 5: System Construction GPS Location Rooster
5. System Construction
Software engineering and development of the projects can be viewed as primarily a problem-
solving activity. Visual modeling using a variety of diagrams provide a structured approach
for students to relate problem-solving and communication as part of systems analysis and
design process.
The smart phones based on android operating system are growing in popularity each and
every month. In fact, as of this writing, there are over 10 billion users globally that take
advantage of android technology. These users include both consumers and entrepreneurs.
Developing a location based reminder for Android application, the use of GPS receiver in cell
phone and integration of Google map is very important and necessary.
The freeware allows users to add multiple locations, each with its own proximity radius
which, unlike that in i am coming, doesn’t have to be equal to or greater than 1 mile. The
application keeps running in the background, waiting for the device to come within the
specified range of a saved locality, in the event of which, it alerts the user with a notification.
So if, for instance, user keeps forgetting to refuel his car on way back from work, all of need
to do is save a prompt for a nearby gas station on Android device using GPS location
Rooster.
The interface is very straightforward. The screen displays the Add New Taskoption by
pressing menu button. Tapping said option brings up a form where user can specify the
looked-for location either manually via Google Maps (Pick location from map) or
automatically, using current GPS coordinates (Use current location). To save a location while
pointing to it manually from the map, the user press menu button on his/her device and
clicksaveselection.
The development of the project was started once the Google Map is successfully integrated
into the application. The very first step was to acquire the recent location of the user. Through
46
Chapter 5: System Construction GPS Location Rooster
which the user of application can easily check his current location on the Google Map. The
project passed through various learning process of Android development. Theenhancement
changes and refinement during the initial stages of development. Gradually all of the tasks
got clearer and development approach became more streamlined. Eclipse is explored, learned,
tested and used has provided several functionalities. Finally all the task were implemented
and integrated in to the application and were tested. The development tasks and approach are
discussed in detail below:
5.2.1.Database Design
The first task was to design and finalise Entity Relationship Diagram for the database. ERD
was drafted on paper initially. ERD went through three major evolutions and was finalised.
Once ERD was finalised, the actual designing of the database started. Database is designed in
SQLite. The Mobile databases are not as richer. The database table is designed according to
the project requirement.
5.2.2.Application Design
The architecture of this Mobile application, it is purely based on the general mobile based
application architecture. Mobile based applications were mostly designed as per architecture
of the operating system of the phone. Interface is simple and easy to interact with
it.Application is deployed at the user mobile phone, were an .apk file is installed using mobile
phone services and built-in database support allow the application to run on user phone.The
Architecture diagram of GPS Location Rooster is given below:
GPS-Satellite
Current Location
Desired Alert Location
Continuous Navigation
User-Side
Mobile Application
Location Receiver
The above diagram is a typical mobile architecture used to develop GPS based application
that involves requests from the user to get his/her current location on map using mobile GPS
receiver and set the location task on desired location.
After the designing of the architecture of application, the next task was to develop the
Activity pages to implement all the use cases defined in the analysis phase. The number and
functionality of the activity pages to be developed was decided based on the use cases already
defined. The design of the activity pages was according to the functionality of the application.
Mobile based applications are very simple to use the functionality of all the modules that
were implemented in an application.
The Android Maps API providesdevelopers to embed Google Maps in their own applications.
A single Maps API key is valid for all applications signed by a single certificate. To get a
Maps API key for the certificate, developers need to provide its certificate's fingerprint for
every individual developer to use it in application.This can be obtained using keytool. For
example, on Linux or Mac OSX, developers debug keystore like this:
After all the work, multiple location task alert notification functionality be added, in which
user can add more than one location alarm in it. User can set specific location task alert.
Application provide alerts according to desired nearby location of user.
48
Chapter 5: System Construction GPS Location Rooster
This application is a purely mobile based application, therefore the environment of its
deployment is purely mobile oriented i.e. the system would be installed on any Android based
mobile phone with a built in SQLite database running inside. A user has to connect with GPS
service internet service in order to use the application. Following are the system requirements
that were used to build this application are as follows:
RAM 256MB
Memory 20MB
The software requirements to develop and run this application were as follows:
The java based development requires Eclipse IDE software which is integrated with Android
SDK’s, the application deployed on smartphone which is HTC Sense Explorer. An Integrated
XML Editor in Eclipse IDE is used for User Interface and Adobe Photoshop CS 5 is used for
icons and image editor.
Following are different system specifications in which the application can run and operate.
49
Chapter 5: System Construction GPS Location Rooster
Testing is performed to ensure that the system that has been developed works according to
the requirements. The purpose of the system testing is to find defects in the system and to
ensure that the system or application is working properly. However, it can’t be guaranteed
that the system is hundred percent correct and there is no defect or error. There are different
testing techniques used in testing process to check how well system is performing.
A test case is a set of conditions or variables under which a tester checks that the system is
working properly or not. Test cases are used to test the functionality. Test cases are executed
according to a defined sequence of tasks and the expected results are defined before
execution. The actual results of execution are compared to the expected results and hence a
test case is said as pass/fail or not executed. All tests are performed with application up and
running on a local server with appropriate server settings.
Test case ID, Use Case reference, Related number, Test category, Author, Pass/fail, Remarks.
50
Chapter 5: System Construction GPS Location Rooster
Brief description
In the Enable GPS Services test case, the functionality of the Services used to run the mobile
application is been checked. The GPS and Internet services are must enable to use the
application features.
Comments:
This start up activity is tested. In which application gives the message to Enable the required services
to use the application.
51
Chapter 5: System Construction GPS Location Rooster
Brief description
In this test case, the user open the add task activity from the main menu of an application, in
which user enter all the details of new location task and through Google Maps select his/her
desired location for notification alert.
Comments:
In Add task activity user enter the values in field and must load the desired location to save its desired
location for alert.
52
Chapter 5: System Construction GPS Location Rooster
Brief description
The main objective of this test case was to remove the saved task on main activity of an
application. In main activity user hold the task and Delete task option show to delete the
specific task.
Comments:
The main activity is opened and user must tap the desired task which has to be deleted
53
Chapter 5: System Construction GPS Location Rooster
Brief description
The main objective of this test case was to check the setting of an application. Through
preferences main item, user set the application whole setting.
Comments:
The preferences setting of an application is tested. In which user can change the setting of an
application without closing it.
54
Chapter 5: System Construction GPS Location Rooster
Brief description
The main objective of this test case was to check the setting of an application. Through
preferences main item, user set the application whole setting.
Comments:
The preferences setting of an application is tested. In which user can change the setting of an
application without closing it.
55
Chapter 6: Conclusion and Scope of further work GPS Location Rooster
Chapter 6
56
Chapter 6: Conclusion and Scope of Further Work GPS Location Rooster
In the overall development of GPS Location Rooster, core software engineering concepts,
models and development methodologies are used.
6.1. Introduction
This project has been completed successfully because all the objectives have been achieved.
The applicationhas been verified against the requirements and found to be successful when
compared to the test cases and requirements. All modules of application is working perfectly
and conferring to the requirements. This application is developed for the smartphone users to
remind their tasks on different locations. Application is very help full for the user to save
their desired location by using Google maps. Application provides user current location on
map through which user easily catch their self on map and tap the desired location of
notification alert. A notification alert feature provides an easy way to get the locations task
notification, so that the user never lost their place. Through setting radius standards of each
task alert provide user to give notification alert, when user enter in specified task alert area.
Location task management provide user to manage their whole task alert.
Objectives of this project have been achieved and accomplished. The main objective that has
been achieved is the knowledge of developing the mobile based application refined the
concepts regarding the application like using GPS values getting the current location of user
through GPS receiver and save the latitude and longitude values, updated Google maps
integration in application, designing and modelling of the system. Using the Google open
source API’s for Android development the application features enhanced and the
performance of application is increased. Android Virtual Device (AVD) is used to developed
and test the application on system.
The second objective that has been attained is the skill in using Java for mobile application
development and Eclipse IDE. The entire submission was built using Android operating
system,Java as a programming language, XML is used for light weight layout of smartphone
applications and SQLite is used for mobile database. Express were the necessary tools in the
57
Chapter 6: Conclusion and Scope of Further Work GPS Location Rooster
development of the application that have been learnt. Application is designed to install and
run on all the version of Android operating system.
Every single object needs some improvement in this way or that. The application has been
carefully designed to cater to the current needs of the users and therefore must be properly
managed to adapt the future needs of users be looking for in the times to come. Further work
can be done to improve the design and the user-interface. User can share his/her location with
their friends by sending the text message through this application. With the passage of time
Google introduces further API’s of Android application development. Location based
services are increasing day by days. The Android provides an open source development for
all the developers over the world.
58
Appendices GPS Location Rooster
Appendices
AOSP: The Android Open Source Project (AOSP) is an initiative created to pave a way to
development of theAndroid based mobile application platform. The Android platform
consists of the operating system, middleware application and integral mobile applications. [5]
ADT: Android Development Tools kind of data abstraction where a type's internal form is
hidden behind a set of access functions. Values of the type are created and inspected only by
calls to the access functions. This allows the implementation of the type to be changed
without requiring any changes outside the module in which it is defined. [5]
GPS:A system for determining position on the Earth's surface by comparing radio signals
from several satellites.24 satellites are moving round the global, at least four are required for
accurate current location.Depending on geographic location, the GPS receiver samples data
from up to six satellites, it then calculates the time taken for each satellite signal to reach the
GPS receiver, and from the difference in time of reception, determines the location. [7]
59
Appendices GPS Location Rooster
XML: XML Query Language (XQuery) is a query and programming language for processing
XML documents and data. XML data and other databases that store data in a format
analogous to HTML can be processed with XQuery. The main objective of XQuery is to
provide query mechanisms for data extraction from real and virtual Web based documents. it
links web and data with the help of xml. [6]
Lat: Latitude
Long: Longitude
60
Appendices GPS Location Rooster
This application is install on smartphones having Android based operating system in it.
Through eclipse tool an “APK” file generate which is copy on smartphone and through
installation wizard application is automatically install on smartphone. The Android SDK
version 2.2 is used for applicationsdevelopment, hence the smartphones must have installed
this version to use it.
61
Appendices GPS Location Rooster
When a user clicks the icon of GPS Location Rooster, the main screen appears on which
application show the message ‘Tap here to add a new location’. When user tap the screen
another activity of application opened to add the location for alarm.
62
Appendices GPS Location Rooster
User tap the screen to add a new location next activity open which shows the current location
of the user on Google map, through which user get a quick look of his/her current location on
the map. Application gets the current location of user from GPS or Phone network. A
location pin points on the map, through which user easily see his/her location on map.
63
Appendices GPS Location Rooster
User long press on the map to select the desired location for alarm, a toast message screen
appear which shows the location name and complete address. Another message also appear
on the screen which shows the difference of user current location and its desired alarm
location in kilometre.
64
Appendices GPS Location Rooster
A popup message screen open which shows the latitude and longitude values of desired
location and also shows the address of a location. User press the OK button an activity open
which asks the user to enter the location name. User gives the name of location and press OK
button to save it as a new location.
65
Appendices GPS Location Rooster
When user save the new location, alarm details activity open which display all the alarm
setting. Alarm details heading allow user to activate the alarm service, location menu help the
user to view the alarm location or to edit the saved location. Preferences menu use to select
the radius for alarm alert. Units deliver the capability to select the units according to their
requirements e.g. (meters, kilometres, foot). Location provider menu assist the user to select
the location service provider e.g. (GPS, Phone network, Passive). Old location warning use to
give the alert of already saved locations.
66
Appendices GPS Location Rooster
Alarm setting menu let the user to change the alert setting of location alarm. It allow the user
to on/off the sound, select the ring tone for alert, on/off the crescendo, vibration alert on/off,
speech on/off and popup message on/off to show the message of location alert.
67
Appendices GPS Location Rooster
Application main screen show all the saved locations on main activity screen of the
application. The title and mode of their transportation display on screen. User set the desired
number of alarm with no limitation.
68
Appendices GPS Location Rooster
User select the specific location and hold it for 1 sec, a menu list open and show the menu
items of location. Alert here option activate the alarm. Edit location option move towards the
alarm edit menu to change the setting of location and Delete location delete the location form
application.
69
Appendices GPS Location Rooster
The notification centre of smartphone shows the alarm activation and its away distance from
user current location. This feature helps the user to get the location distance and he/she get a
quick notification of location.
70
Appendices GPS Location Rooster
When user save the new location alarm, approaching destination activity is open and show
the away distance of desired location alarm and also show the location data history in. This
activity also helps the user to show the entire saved location list and edit the current alarm
location. Cancel alarm feature provide the user to cancel the current alarm.
71
Appendices GPS Location Rooster
References
http://www.android.com/
[Accessed:03Jan 2012]
https://developers.google.com/android/
[Accessed:11Jan 2012]
http://www.javacodegeeks.com/2011/01/android-proximity-alerts-tutorial.html
[Accessed: 15 Mar 2012]
[4] Android-er
http://android-er.blogspot.com/2009/11/mapview-to-center-on-current-location.html
http://www.androidcentral.com/
http://www.java2s.com/Open-Source/Android
72
Appendices GPS Location Rooster
http://www.androiddevelopment.org/
73