nurul anis alia binti ahmad shah

79
TRACKER-PET COLLAR APPLICATION (T-PC APPS) TO TRACK PET USING GLOBAL-POSITIONING SYSTEM (GPS) NURUL ANIS ALIA BINTI AHMAD SHAH BACHELOR OF COMPUTER SCIENCE (INTERNET COMPUTING) WITH HONOURS UNIVERSITI SULTAN ZAINAL ABIDIN JULY 2020

Upload: others

Post on 30-Apr-2022

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NURUL ANIS ALIA BINTI AHMAD SHAH

TRACKER-PET COLLAR APPLICATION (T-PC APPS) TO TRACK PET USING

GLOBAL-POSITIONING SYSTEM (GPS)

NURUL ANIS ALIA BINTI AHMAD SHAH

BACHELOR OF COMPUTER SCIENCE

(INTERNET COMPUTING) WITH HONOURS

UNIVERSITI SULTAN ZAINAL ABIDIN

JULY 2020

Page 2: NURUL ANIS ALIA BINTI AHMAD SHAH

i

DECLARATION

Hereby, I stated that this report is based on my original works except the references that has been

referred and acknowledge in the stated citations. I also stated that this report was not submitted

on previous and current submission from any other degree students of other universities and,

especially from Universiti Sultan Zainal Abidin (UniSZA).

_____________________________

Name: NURUL ANIS ALIA BINTI

AHMAD SHAH

Date: 15th July 2020

Page 3: NURUL ANIS ALIA BINTI AHMAD SHAH

ii

CONFIRMATION

This is to confirm that this project with the title, Tracker-Pet Collar Application (T-PC Apps) to

Track Pet Using Global-Positioning System (GPS) was prepared and submitted by Nurul Anis

Alia Binti Ahmad Shah with metric number BTCL17047368 has been satisfactory in the terms of

scope, quality, and performance to fulfill the requirement of Bachelor of Computer Science

(Internet Computing) With Honor in Universiti Sultan Zainal Abidin (UnisSZA) and the research

that has been carried out and written in this report was supervised by me.

______________________________

Name: EN. MOHD KAMIR BIN

YUSOF

Date: 15th July 2020

Page 4: NURUL ANIS ALIA BINTI AHMAD SHAH

iii

DEDICATION

In the Name of Allah, The Most Gracious, The Most Merciful. Alhamdulillah, all praise be to

Allah, I finish writing the research of this project completely. Without the support,

encouragement, and cooperation from family, teachers, friends, and other people who are willing

to help, the research of this project cannot be finished completely. Finally, I would like to thank a

lot to my groupmate that helped me through this project.

Page 5: NURUL ANIS ALIA BINTI AHMAD SHAH

iv

ABSTRACT

Nowadays, many people who live at home, whether living alone, with housemates, or with

families, feel lonely and bored when they cannot do any outdoor activities with other people.

This will make them more likely to find appropriate activities in the house to eliminate their

loneliness and boredom. One of the best activities is to have a pet as it can create a cute and

cheerful atmosphere. But how bad would it be for the pet owners if their pets did not come home

and they would lose their pets forever? Tracker-Pet Collar Application (T-PC Apps) to Track Pet

Using GPS Sensor is developed to send the location of the pets that are tracked by Global

Positioning System (GPS) tracker with Mobile Application (Mobile Apps). This technology is

encouraged for those who have a pet and worry about losing their pets. There are a few systems

that use GPS trackers with Mobile Apps in Malaysia. But if there is, more developers are

developing technologies that focus on the vehicles but not on the pets. Therefore, pet owners

especially in our country have to spend their own energy, time, and money if they lose their pets.

This technology provides GPS which is a receiver that receives signals from anywhere in the

world through satellites and works independently to send information through network and

smartphone. This technology also develops Mobile App which is a software that runs in a

smartphone as an application and works limitedly. In conclusion, this technology helps users,

especially pet owners, to track the location of their pets without having to worry about losing

them.

Page 6: NURUL ANIS ALIA BINTI AHMAD SHAH

v

ABSTRAK

Pada masa kini, ramai orang yang tinggal di rumah, sama ada tinggal bersendirian, dengan

rakan serumah, atau bersama keluarga akan merasa kesunyian dan bosan apabila mereka tidak

dapat melakukan aktiviti di luar rumah dengan orang lain. Ini akan menjadikan mereka lebih

cenderong untuk mencari aktiviti yang sesuai di dalam rumah bagi menghilangkan kesunyian

dan kebosanan mereka. Salah satu aktiviti yang terbaik adalah memiliki haiwan peliharaan

kerana ia dapat mewujudkan suasana yang comel dan ceria. Tetapi bagaimana kecewanya

pemilik haiwan peliharaan sekiranya haiwan peliharaan mereka tidak pulang dan haiwan

peliharaan mereka hilang selamanya? Aplikasi Pengesan-Kolar Haiwan Peliharaan untuk

Mengesan Haiwan Peliharaan Menggunakan Sistem Kedudukan Global dibangunkan untuk

menghantar lokasi haiwan peliharaan yang dikesan oleh Sistem Kedudukan Global dengan

Aplikasi Mudah Alih. Teknologi ini digalakkan untuk mereka yang mempunyai haiwan

peliharaan dan mereka yang bimbang kehilangan haiwan peliharaan. Terdapat beberapa sistem

yang menggunakan Sistem Kedudukan Global dengan Aplikasi Mudah Alih di Malaysia. Tetapi

jika ada, lebih banyak pembangun sedang membangunkan teknologi yang memberi tumpuan

kepada kenderaan tetapi tidak kepada haiwan peliharaan. Oleh itu, pemilik haiwan peliharaan

terutama di negara kita harus menghabiskan tenaga, masa, dan wang mereka sendiri sekiranya

mereka kehilangan haiwan peliharaan mereka. Teknologi ini menyediakan Sistem Kedudukan

Global yang merupakan penerima yang menerima isyarat dari mana saja di dunia melalui

satelit dan berfungsi secara bebas untuk menghantar maklumat melalui rangkaian dan telefon

pintar. Teknologi ini juga membangunkan Aplikasi Mudah Alih yang merupakan perisian yang

berjalan di telefon pintar sebagai aplikasi dan berfungsi dengan terhad. Kesimpulannya,

Page 7: NURUL ANIS ALIA BINTI AHMAD SHAH

vi

teknologi ini membantu pengguna, terutama pemilik haiwan peliharaan, untuk mengesan lokasi

haiwan peliharaan mereka tanpa perlu risau kehilangannya.

Page 8: NURUL ANIS ALIA BINTI AHMAD SHAH

vii

CONTENTS

DECLARATION............................................................................................................................ i

CONFIRMATION ........................................................................................................................ ii

DEDICATION.............................................................................................................................. iii

ABSTRACT .................................................................................................................................. iv

ABSTRAK ..................................................................................................................................... v

CONTENTS................................................................................................................................. vii

LIST OF TABLES ...................................................................................................................... xii

LIST OF FIGURES ................................................................................................................... xiii

CHAPTER 1 .................................................................................................................................. 1

1.1) Introduction ................................................................................................................................... 1

1.2) Problems Statement ....................................................................................................................... 1

1.3) Objectives ....................................................................................................................................... 2

1.4) Scopes ............................................................................................................................................. 2

1.5) Limitations of Work ...................................................................................................................... 3

1.6) Expected Results ............................................................................................................................ 3

1.7) Project Structures .......................................................................................................................... 4

CHAPTER 2 .................................................................................................................................. 5

2.1) Introduction ................................................................................................................................... 5

2.2) Global Positioning System ............................................................................................................. 5

Page 9: NURUL ANIS ALIA BINTI AHMAD SHAH

viii

2.3) Mobile Application ........................................................................................................................ 7

2.4) Current Applications ..................................................................................................................... 8

2.4.1) Stopanik GPS Tracker ............................................................................................................................................. 8

2.4.2) Reachfar GPS Tracker ............................................................................................................................................. 9

2.4.3) Pod Trackers ............................................................................................................................................................... 9

2.4.4) iPet GPS Tracker .................................................................................................................................................... 10

2.5) Related System Researches ......................................................................................................... 13

2.6) Summary ...................................................................................................................................... 14

CHAPTER 3 ................................................................................................................................ 16

3.1) Introduction ................................................................................................................................. 16

3.2) Prototype Methodology ............................................................................................................... 16

3.2.1) Requirements ........................................................................................................................................................... 17

3.2.2) Quick Design ........................................................................................................................................................... 17

3.2.3) Build Prototype ....................................................................................................................................................... 17

3.2.4) User Evaluation....................................................................................................................................................... 18

3.2.5) Refining Prototype ................................................................................................................................................. 18

3.2.6) Implement and Maintain ..................................................................................................................................... 18

3.3) Architecture Diagram ................................................................................................................. 19

3.4) Context Diagram (CD) ................................................................................................................ 19

3.5) Data Flow Diagram (DFD) .......................................................................................................... 20

3.5.1) Level 0 ........................................................................................................................................................................ 20

Page 10: NURUL ANIS ALIA BINTI AHMAD SHAH

ix

3.5.2) Level 1 ........................................................................................................................................................................ 23

3.6) Entity Relationship Diagram (ERD) .......................................................................................... 23

3.6.1) Interaction between PET OWNER and ADMIN (Interaction 1) ......................................................... 24

3.6.2) Interaction between PET OWNER and ADMIN (Interaction 2) ......................................................... 25

3.6.3) Interaction between PET OWNER and PET ............................................................................................... 25

3.6.4) Interaction between PET OWNER and TRACKER................................................................................. 25

3.6.5) Interaction between PET OWNER and HISTORY .................................................................................. 26

3.6.6) Interaction between PET and TRACKER .................................................................................................... 26

3.6.7) Interaction between TRACKER and HISTORY ....................................................................................... 26

3.7) Summary ...................................................................................................................................... 27

CHAPTER 4 ................................................................................................................................ 28

4.1) Introduction ................................................................................................................................. 28

4.2) Interface Design ........................................................................................................................... 28

4.3) User Interface ............................................................................................................................... 28

4.3.1) Login Interface ........................................................................................................................................................ 29

4.3.2) Sign Up Interface ................................................................................................................................................... 30

4.3.3) Menu Interface ........................................................................................................................................................ 33

4.3.4) User Profile Interface ............................................................................................................................................ 34

4.3.5) Update User Profile Interface ............................................................................................................................ 36

4.3.6) Delete user profile interface ............................................................................................................................... 38

4.3.7) Pet Profile Interface ............................................................................................................................................... 39

Page 11: NURUL ANIS ALIA BINTI AHMAD SHAH

x

4.3.8) Update Pet Profile Interface ............................................................................................................................... 41

4.3.9) Delete Pet Profile Interface ................................................................................................................................ 43

4.3.10) Tracker Interface .................................................................................................................................................. 44

4.3.11) Location Interface ................................................................................................................................................ 45

4.3.12) Log out Interface .................................................................................................................................................. 48

4.4) Testing Analysis ........................................................................................................................... 49

4.5) Test Case ...................................................................................................................................... 50

4.5.1) User Login Test Case ........................................................................................................................................... 50

4.5.2) User Sign Up Test Case ....................................................................................................................................... 51

4.5.3) View User Test Case............................................................................................................................................. 52

4.5.4) User Profile Test Case .......................................................................................................................................... 52

4.5.5) Update User Profile Test Case .......................................................................................................................... 52

4.5.6) Delete User Profile Test Case ........................................................................................................................... 53

4.5.7) View Pet Test Case ................................................................................................................................................ 53

4.5.8) Pet Profile Test Case ............................................................................................................................................. 54

4.5.9) Update Pet Profile Test Case ............................................................................................................................. 54

4.5.10) Delete Pet Profile Test Case ............................................................................................................................ 55

4.5.11) View Tracker Test Case .................................................................................................................................... 55

4.5.12) View Location Test Case .................................................................................................................................. 56

4.5.13) Log Out Test Case ............................................................................................................................................... 56

4.6) Summary ...................................................................................................................................... 56

Page 12: NURUL ANIS ALIA BINTI AHMAD SHAH

xi

CHAPTER 5 ................................................................................................................................ 57

5.1) Introduction ................................................................................................................................. 57

5.2) Project Contribution ................................................................................................................... 57

5.3) Project Constraints and Limitations .......................................................................................... 58

5.3.1) The user will not be exposed to the system unless they buy the GPS sensor first. ....................... 58

5.3.2) The user cannot track their pet’s location if the GPS sensor is damaged. ........................................ 58

5.4) Future Work ................................................................................................................................ 58

5.5) Conclusion .................................................................................................................................... 58

References .................................................................................................................................... 59

APPENDIX .................................................................................................................................. 61

Page 13: NURUL ANIS ALIA BINTI AHMAD SHAH

xii

LIST OF TABLES

Table 2.1: The summary of the current applications ................................................................... 11

Table 2.2: The Related System Researches ................................................................................. 13

Table 4.1: User login test case for successful login. .................................................................... 50

Table 4.2: User login test case for unsuccessful login. ................................................................ 50

Table 4.3: User sign up test case for successful sing up. ............................................................. 51

Table 4.4: User sign up test case for unsuccessful sign up. ......................................................... 51

Table 4.5: View tracker test case. ................................................................................................ 52

Table 4.6: User profile test case. .................................................................................................. 52

Table 4.7: Update user profile test case. ...................................................................................... 52

Table 5.8: Delete user profile test case. ....................................................................................... 53

Table 4.9: View pet test case. ...................................................................................................... 54

Table 4.10: Pet profile test case. .................................................................................................. 54

Table 4.11: Update pet profile test case. ...................................................................................... 54

Table 4.12: Delete pet profile test case. ....................................................................................... 55

Table 4.13: View tracker test case. .............................................................................................. 55

Table 4.14: View location test case. ............................................................................................ 56

Table 4.15: Log out test case. ...................................................................................................... 56

Page 14: NURUL ANIS ALIA BINTI AHMAD SHAH

xiii

LIST OF FIGURES

Figure 2.1: The Interface of Stopanik GPS Tracker ...................................................................... 8

Figure 2.2: The Interface of Reachfar GPS Tracker ...................................................................... 9

Figure 2.3: The Interface of Pod Trackers ................................................................................... 10

Figure 2.4: The Interface of iPet GPS Tracker ............................................................................ 11

Figure 3.1: The illustration of prototype methodology phase ..................................................... 17

Figure 3.2: The Architecture Diagram of T-PC Apps ................................................................. 19

Figure 3.3: The Context Diagram (CD) of T-PC Apps ............................................................... 20

Figure 3.4: The Data Flow Diagram (DFD) Level 0 of T-PC Apps ............................................ 21

Figure 3.5: The Data Flow Diagram (DFD) Level 1 of T-PC Apps ............................................ 23

Figure 3.6: The Entity Relationship Diagram (ERD) of T-PC Apps........................................... 24

Figure 4.1: The login interface when sign in failed. .................................................................... 29

Figure 4.2: The login interface goes directly to the menu interface when sign in succeed. ........ 29

Figure 4.3: The sign up interface with registration form. ............................................................ 30

Figure 4.4: The sign up interface when the registration form is filled ........................................ 31

Figure 4.5: The sign up interface when the image is uploaded. .................................................. 31

Figure 4.6: The sign up interface when the image is not uploaded. ............................................ 32

Figure 4.7: The sign up goes directly to the log in interface when signing up succeed. ............. 32

Figure 4.8: The sign up goes directly to the log in interface when signing up failed. ................. 33

Page 15: NURUL ANIS ALIA BINTI AHMAD SHAH

xiv

Figure 4.9: The menu interface. ................................................................................................... 34

Figure 4.10: The user profile interface without pet owner detail ................................................ 35

Figure 4.11: The pet owner form interface in the user profile interface. ..................................... 35

Figure 4.12: The user profile interface with pet owner detail. .................................................... 36

Figure 4.13: The update user profile dialog box with a new pet owner detail. ........................... 37

Figure 4.14: The user profile interface with the new pet owner detail. ....................................... 37

Figure 4.15: The delete user profile dialog box that can remove the pet owner detail. ............... 38

Figure 4.16: The user profile interface after the pet owner detail has been removed. ................ 39

Figure 4.17: The pet profile interface without pet detail. ............................................................ 40

Figure 4.18: The pet form interface in the pet profile interface. ................................................. 40

Figure 4.19: The pet profile interface with pet detail. ................................................................. 41

Figure 4.20: The update pet profile dialog box with a new pet detail. ........................................ 42

Figure 4.21: The pet profile interface with the new pet detail. .................................................... 42

Figure 4.22: The delete pet profile dialog box that can remove the pet detail. ........................... 43

Figure 4.23: The pet profile interface after the pet detail has been removed. ............................. 44

Figure 4.24: The tracker interface................................................................................................ 45

Figure 4.25: The location form and button in the location interface ........................................... 46

Figure 4.26: The location form is filled. ...................................................................................... 46

Figure 4.27: The location interface goes directly to the Google Maps interface when the button

is clicked. ...................................................................................................................................... 47

Page 16: NURUL ANIS ALIA BINTI AHMAD SHAH

xv

Figure 4.28: The Google Maps interface in the location interface. ............................................. 47

Figure 4.29: The logout and also pet owner menu in the menu interface. ................................... 48

Figure 4.30: The menu interface goes directly to login interface when the logout is clicked. .... 49

Page 17: NURUL ANIS ALIA BINTI AHMAD SHAH

1

CHAPTER 1

INTRODUCTION

1.1) Introduction

Mobile Application (Mobile Apps) and Internet of Things (IoT) are two different

technologies that are both already part of our life. Their adoption and use are expected to be

more and more pervasive, making them important components of the future internet. A model

paradigm where Mobile Apps and IoT are merged together is foreseen as a disruptive and as an

enabler of a larger number of application scenarios. The IoT paradigm is based on intelligent and

self-configuring nodes (things) interconnected in a dynamic and global network infrastructure. It

represents one of the most disruptive technologies, enabling ubiquitous and pervasive computing

scenarios. IoT is generally characterized by real world small things, widely distributed, with

limited storage and processing capacity, which involve concerns regarding reliability,

performance, security, and privacy. Thus, a novel IT paradigm in which Mobile Apps and IoT

are two complementary technologies merged together is expected to disrupt both current and

future internet. Reviewing the rich and articulate state of the art in this field, both topics gained

popularity in the last few years (Raikar et al., 2020).

1.2) Problems Statement

This section discussed a few problems without T-PC Apps. Pet owners often have trouble

losing their pets and feel uneasy when they lost their pets in just one then, their feelings must be

Page 18: NURUL ANIS ALIA BINTI AHMAD SHAH

2

really painful if they lost their pets for a day, a week or a year. At the same time, pet owners

spend a lot of their energy, time, and money for their pets such as looking after their pets from

day to day and willingly offer to pay a lot of money to anyone who can find their pets. Pet

owners rarely can find a system that focuses on tracking missing pets because the existing

technologies that also apply GPS and Mobile Apps especially in our country focus more on

vehicles. Pet owners often need to pay for the pet tracker with an unreasonable price so that they

can buy this technology from our own country without having to pay expensive overseas

shipping costs.

1.3) Objectives

The main objective of this project is to create a system that will help pet owners to solve

their problems such as losing their pets and assure them that the T-PC Apps to Track Pet using

GPS Tracker is a system that meets the needs of user requirements. The real objectives of the

project are as stated:

a) To design an architecture of communication between the tracker sensor and mobile

apps.

b) To develop a mobile application and GPS tracker to send and receive location data.

c) To test and evaluate functionalities and capabilities of the mobile application and GPS

tracker.

1.4) Scopes

Scope of this project are divided into three elements. There are user, module, and

technology. The scope will describe the boundaries of the project.

Page 19: NURUL ANIS ALIA BINTI AHMAD SHAH

3

a) User

The pet owner Register the pet owner profile such as pet owner id, email, phone,

pet owner photo, and password, Manage the pet profile such as pet id and pet photo,

Track the GPS location such as latitude, longitude, street, city, and state, Notify the

Admin such as report or feedback, and Save the history such as frequent location.

b) Module

The user requests and receives tracked location

c) Technology

• Mini GPS tracker

• Android platform mobile apps

• Mini GPS tracker technology to track the location data and Android platform

mobile apps to display the location data.

1.5) Limitations of Work

This section discussed a few limitations in T-PC Apps. The system focuses on tracking

pet location only. The detection of pet location will not accurate perfectly so it requires pet

owner efforts for better search. Since, the system tracks inaccurate pet location, it only provides

pet owners with some data and hint about the detection of pet location.

1.6) Expected Results

The expected result for this system in this project is as stated:

Page 20: NURUL ANIS ALIA BINTI AHMAD SHAH

4

a) An Android platform mobile app will be developed where it can be used to track pets

via mini GPS tracker.

b) A User which is the pet owner will use the mobile apps and GPS tracker to track the

location of the pets that will display on the smartphone via Google Maps.

1.7) Project Structures

This project consists of four chapters, Chapter 1 that consists of background, problems

statement, objectives, scopes, limitations of work, and expected results. Chapter 2 consists of

literature review’s introduction, Global-Positioning System, mobile application, current

applications, related system researches, and literature review’s summary. Chapter 3 consists of

research methodology’s introduction, prototyping methodology (project’s method), architecture

diagram, context diagram, data flow diagram, entity relationship diagram (ERD), and research

methodology’s summary. Chapter 4 consists of initial design’s introduction, proof of concept,

and initial design’s summary.

Page 21: NURUL ANIS ALIA BINTI AHMAD SHAH

5

CHAPTER 2

LITERATURE REVIEW

2.1) Introduction

In this chapter, the attention focuses on the integration of Global-Positioning System

(GPS) and Mobile Apps. Many works in literature have surveyed Mobile Apps and GPS

separately and more precisely, their main properties, features, underlying technologies, and open

issues. However, to the best of our knowledge, these works lack a detailed analysis of the new

Mobile Apps and GPS paradigm, which involves completely new applications, challenges, and

research issues. To bridge this gap, this project provides a literature survey on the integration of

Mobile Apps and GPS. Starting by analyzing the basics of both GPS and Mobile Apps, the

complementary is analyzed, detailing what is currently driving to their integration. Thanks to the

adoption of the Mobile Apps and GPS paradigm a number of applications are gaining

momentum, the pictures of Mobile Apps and GPS applications are provided in literature with the

focus on their specific research challenges. These challenges are then analyzed in detail to show

where the main body of research is currently heading. The availability in terms of platforms,

both proprietary and open source and project implementing the Mobile Apps and GPS paradigm

are analyzed. (Nalla & El-Ocla, 2017).

2.2) Global Positioning System

Page 22: NURUL ANIS ALIA BINTI AHMAD SHAH

6

Based on Your Dictionary, Global Positioning System (GPS) is a system of satellites,

computers, and receivers that is enabled to determine the latitude and longitude of a receiver on

Earth by calculating the time difference from signals from different satellites to reach the

receiver. GPS is also defined as a system of satellites combined with receivers on the Earth that

determines the latitude and longitude of any particular receiver through triangulation. The

distance of the receiver to three of the satellites is ascertained by measuring the time-delay of a

predetermined radio signal called a pseudo-random code. Errors in timing can be corrected by

checking the signals against the signal from a fourth satellite. Current systems can pinpoint the

location of the receiver with an accuracy of around 5m (16 ft). The system is used for navigation,

surveying, and many other applications. Furthermore, GPS is defined as:

● Any system which enables a mobile receiver to determine its precise location based on

signals received from the US military, the Russian GLONASS system, or the proposed

Galileo European alternative system

● Gives the exact location of someone or some place. The location is based on information

transmitted from a constellation of 24 satellites

GPS are extremely versatile and can be found in almost any industry sector. They can be

used to map forests, help farmers harvest their fields, and navigate airplanes on the ground or in

the air. GPS systems are used in military applications and by emergency crews to locate people

in need of assistance. GPS technologies are often working in many areas that are not normally

considered. GPS applications generally fall into five major categories:

● Location to determine the position

● Navigation to get from one location to another

Page 23: NURUL ANIS ALIA BINTI AHMAD SHAH

7

● Tracking to monitoring object or personal movement

● Mapping to create maps of the world

● Timing to bring precise timing to the world

2.3) Mobile Application

A mobile application (mobile apps) is a software application developed specifically for

use on small, wireless computing devices such as smartphones and tablets rather than desktop or

laptop computers. Mobile apps are designed with consideration for the demands and constraints

of the devices and also to take advantages to any specialized capabilities:

● Gaming apps might take advantage of the iPhone’s accelerometer.

● web-based or native apps which are created specifically for a given platform.

● A hybrid app, combines elements of both native and web apps.

● As the technologies mature, it’s expected that mobile application development efforts

will focus on the creation of browser-based, device-agnostic web applications.

Besides, based on Technopedia, a mobile application is most commonly referred to as an

app, is a type of application software designed to run on mobile devices such as a smartphone or

tablet computer. Mobile apps frequently serve to provide users with similar services to those

accessed on PCs. Mobile apps are generally small, individual software units with limited

function. The use of mobile apps software was originally popularized by Apple Inc. and its App

Store which offers thousands of applications for the iPhone, iPad, and iPod Touch. Mobile apps

also may be known as apps, web apps, online apps, or smartphone apps. Moreover, mobile apps

Page 24: NURUL ANIS ALIA BINTI AHMAD SHAH

8

are a move away from the integrated software systems generally found on PCs. Instead, each app

provides limited and isolated functionality such as a game, calculator or mobile web browsing.

Although applications may have avoided multitasking because of the limited hardware resources

of the early mobile devices, their specificity is now part of their desirability because they allow

consumers to hand-pick what their devices are able to do. The simplest mobile apps take PC-

based applications and port them to a mobile device. As mobile apps become more robust, this

technique is somewhat lacking. A more sophisticated approach involves developing specifically

for the mobile environment, taking advantages of both its limitations and advantages. For

example, apps that use location-based features are inherently built from the ground up with an

eye to mobile given that the user does not have the same concept of location on a PC.

2.4) Current Applications

2.4.1) Stopanik GPS Tracker

Figure 2.1: The Interface of Stopanik GPS Tracker.

Page 25: NURUL ANIS ALIA BINTI AHMAD SHAH

9

Stopanik GPS Tracker is developed by Stopanik SDN BHD to help a user especially

drivers to track a simple navigation, keep and view history route and any advance features, draw

geofencing.

2.4.2) Reachfar GPS Tracker

Figure 2.2: The Interface of Reachfar GPS Tracker.

Reachfar GPS Tracker is developed by Shenzen Reachfar Technology Company Limited

to help a user to protect the safety of their pets, find pets at night, display a location of their pets,

call the pets by remote buzz, view a history of the pet location, monitor the status of the pets.

2.4.3) Pod Trackers

Page 26: NURUL ANIS ALIA BINTI AHMAD SHAH

10

Figure 2.3: The Interface of Pod Trackers.

Pod Tracker is developed by Pod Trackers Pty Ltd to helps a user which is the pet owners

to find the pets, make an advance tracking simple, track an indoor and outdoor lively, view a

history of a location, detect if the pet is outside of a safe zone or if there is any unusual activity,

monitor the health and the movement of the pets, and record the adventure of the pets.

2.4.4) iPet GPS Tracker

Page 27: NURUL ANIS ALIA BINTI AHMAD SHAH

11

Figure 2.4: The Interface of iPet GPS Tracker.

iPet GPS Tracker is developed by TRACEEZ Technology to help the user to know the

location of the pets, to review the history of the pet’s past locations, receive alarm in the

smartphone if the tracked object are out of the safe zone, and receive notifications about

changed settings, low battery, and alarm through the smartphone.

Table 2.1: The summary of the current applications.

No. System Advantages Disadvantages

1. Stopanik GPS Tracker Track objects such as

vehicles, smartphones, or

employees.

Notify users about the status

of the vehicles.

Tracked objects focus more on

vehicles.

Notification is received

through SMS which can cause

the failure to receive the

Page 28: NURUL ANIS ALIA BINTI AHMAD SHAH

12

Check the status of the

vehicles such as the condition,

behaviors, location, and fuel.

Download report and history

of the tracked objects in any

file formats such as PDF,

XLS, CSV, and TXT.

messages and the credit

charges from the telco services.

Report and history cannot be

viewed directly in the system

where the downloaded report

or history may be mixed with

the other files.

2. Reachfar GPS Tracker Connect to 4G, 3G, or 2G full

network.

IP67 waterproof, auto LED

sensor lights, small and

exquisite shape, and cool and

fashionable design.

Support multi-terminal

operations which are Android

platform and Apple platform

and also multimaps which are

Google Maps and Open Street

Maps.

High voltage and long

standby.

Failure of the system such as

too much inaccurate tracked

location, cannot be opened and

not properly working as stated.

3. Pod Trackers Provide multiple technologies

where the system has the Pod3

that has been designed with a

small, lightweight, reusable

strap, waterproof, and

interchangeable batteries.

Push button to protect the

pets.

Problem with the function of

the Pod3 such as the Pod3

cannot connect to the internet

easily even if there is 4G

network, unable to work

longer, and cannot be replaced.

Page 29: NURUL ANIS ALIA BINTI AHMAD SHAH

13

Failure of the system such as

inability to login and reset

password.

4. iPet GPS Tracker Provide the devices that are

167 waterproof and have

automatic power saving

batteries.

Failure of the system such as

too much inaccurate tracked

location, cannot give

notification, crash, cannot be

opened, and not properly

working as stated.

Problem with the function of

the device such as the device’s

battery cannot be charged,

device’s barcode cannot be

scanned

2.5) Related System Researches

Table 2.2: The Related System Researches.

Nu. Title Technology Function

1. Child Tracker

Application

Development (Andi,

2015)

Assisted-Global Positioning

System (A-GPS)

Help parents to monitor their

children.

Help children to send danger

signs and contact quickly to

their parents.

2. GPS Tracking Data of

Lesser Black-Backed

Gulls and Herring

Global-Positioning System

(GPS)

Record the occurrence and

breed of the bird species.

Page 30: NURUL ANIS ALIA BINTI AHMAD SHAH

14

Gulls Breeding at the

Southern North Sea

Coast (Gyimesi et al.,

2016)

Transmit the movement of the

bird.

3. Energy efficient LoRa

GPS tracker for

dementia patients

LoRa Global-Positioning

System (GPS)

Examine the usage of the

energy in the tracker

component.

Suggest more efficient use of

energy in a tracker.

4. Instantaneous

Feedback Pedometer

with Emergency GPS

Tracker

Global-Positioning System

(GPS)

Calculate the speed of

walking.

Vibrate if the current speed is

below a certain threshold level.

Monitor the rate of the heart.

Alert and call the relatives if

they experience a sudden

cardiac emergency.

The summary of the related system research is most of the developers like to use it as the

tracking technology in their system from 2015 until 2018. The GPS was used to monitor objects,

record movement, examine energy, and many more. Therefore, the use of GPS in tracking

systems is still appropriate even in 2019.

2.6) Summary

In order to establish a new improvised system and to understand the process, function,

and constraint, the current systems have been studied. Stopanik GPS Tracker, Reachfar GPS

Tracker, Pod Tracer, and iPet GPS Tracker are the current applications that have been researched

Page 31: NURUL ANIS ALIA BINTI AHMAD SHAH

15

on their procedures and requirements. The current applications that lead among them are

Stopanik GPS Tracker and Reachfar GPS Tracker which they still need a lot of implementations

to satisfy their users means my apps, T-PC Apps can take this as an advantage to compete with

them to be better and meet the user’s satisfaction. My apps must focus on tracking a pet because

the current applications are more focused on tracking another object and my apps must enable to

send and receive notifications and histories just on the apps so that there are no credit charges

and mix downloaded documents. T-PC Apps must be developed to have more needed functions

than the current applications to provide the new system that can be used with more proper

functions for the users.

Page 32: NURUL ANIS ALIA BINTI AHMAD SHAH

16

CHAPTER 3

METHODOLOGY

3.1) Introduction

In this chapter, the attention focuses on the method that the system used which is

Prototype Methodology. Prototype methodology is defined as a software development model in

which a prototype is built, tested, and then reworked when needed until an acceptable prototype

is achieved. It is also creating a base to produce the final system. The other diagrams that the

system used are focused which are architecture diagram, context diagram (CD), data flow

diagram (DFD), and entity relationship diagram (EFD). Architecture diagram is a collection of

neat colored boxes and pictograms connected by arrows (Al-fedaghi & Al-qemlas, 2020).

Context diagram is the description of the overview functionalities required by the external

entities, it can be decomposed into a number of sublevels DFDs hierarchical manner (Setiaji &

Setiawan, 2020). Data flow diagram is a technique that is used to express system requirement in

graphical form (Jaffari et al., 2020). Entity relationship diagram is a data model for describing

the data or information aspects of a process that lends itself to ultimately being implemented in a

database (Umar, 2020).

3.2) Prototype Methodology

Page 33: NURUL ANIS ALIA BINTI AHMAD SHAH

17

Figure 3.1: The illustration of prototype methodology phase.

3.2.1) Requirements

In this phase, requirement analysis is defined. The requirements of the system are that

most of the users are more likely to use the mobile apps than web apps because mobile apps are

faster, great functionality, safe and secure. Furthermore, mobile apps are easier to build. Based

on the interview, the user’s expectations from the system are usability, performance, and

reliability. Then, the simpler and intuitive the system is the better, the system to be fast without

causing battery issues, and relevant data.

3.2.2) Quick Design

In this phase, system design is created. To create a better design, the context is

understood, stay unique, process is defined, focus on communication, contributions are increased

through modularity, and be mindful of decision debt. However, the system design does not have

to be complete because the faster the design is created, the faster the prototype is developed.

3.2.3) Build Prototype

In this phase, a prototype is developed. The prototype is developed based on what we

have done in the Quick Design phase. The idea of the prototype is the system allows the users to

Page 34: NURUL ANIS ALIA BINTI AHMAD SHAH

18

sign up, log in, edit profile, and get related information. Since the interface design is based on the

Android interface design, the system is developed using an Android platform and for the

Android users.

3.2.4) User Evaluation

In this phase, the proposed system is presented. The proposed system has its own strength

and weakness. The proposed system weakness is more expensive, like expensive to maintain and

update, and difficult to get a native app approved. Although the system tools are expensive, it is

reasonable because the system is easier to build due to the availability of developer’s tools,

interface elements, and SDKs. Moreover, although the system is difficult to get native app

approved, it makes the system safe and secure because native apps must first be approved by the

app store. The user comments are collected.

3.2.5) Refining Prototype

In this phase, the prototype is refined. However, the prototype is refined if the user is not

satisfied enough with the prototype because the prototype is refined according to the user

comments. This phase will keep repeating as long as the system did not reach the user

requirement and satisfaction. Then, the system is developed according to the latest approved

prototype.

3.2.6) Implement and Maintain

In this phase, the system is tested and deployed. The system is tested and deployed to

prevent sudden failure or any unwanted situation like the system stops all of a sudden.

Page 35: NURUL ANIS ALIA BINTI AHMAD SHAH

19

3.3) Architecture Diagram

Figure 3.2: The Architecture Diagram of T-PC Apps.

The details explanation of each steps as in the photo are as below:

i) Radio is used by the tracking stations to determine orbits of the GPS satellites.

ii) Orbital data, time corrections, and location of other satellites in the GPS constellation

is transmitted by command center.

iii) Synchronized time and orbital data transmitted by GPS satellites simultaneously to

Earth.

The location using orbital data and the difference in arrival times of the signals is

computed by GPS receivers on at least four satellites.

3.4) Context Diagram (CD)

Page 36: NURUL ANIS ALIA BINTI AHMAD SHAH

20

Figure 3.3: The Context Diagram (CD) of T-PC Apps.

The context diagram of this T-PC Apps to Track Pet Using GPS Tracker process is

placed at the middle of the diagram. Three external entities PET OWNER, ADMIN, and

TRACKER are placed around the middle process. There are 18 data flows involved. The PET

OWNER entity has six data flows in and six data flows out to the system to be processed which

are PET OWNER SIGN UP INFORMATION, PET OWNER SIGN UP CONFIRMATION,

PET OWNER, PET DETAIL, PET LOCATION, PET FREQUENT, and REPORT OR

FEEDBACK. The ADMIN entity has two data flows in and two data flows out which are

ADMIN SIGN UP INFORMATION, ADMIN SIGN UP CONFIRMATION, and REPORT OR

FEEDBACK. The TRACKER entity has one data flow in and one data flow out which is PET

LOCATION.

3.5) Data Flow Diagram (DFD)

3.5.1) Level 0

Page 37: NURUL ANIS ALIA BINTI AHMAD SHAH

21

Figure 3.4: The Data Flow Diagram (DFD) Level 0 of T-PC Apps.

The DFD Level 0 of this T- PC Apps to Track Pet Using GPS Tracker. There are three

entities which are PET OWNER, ADMIN, and TRACKER. There are five main processes which

are REGISTER, MANAGE, TRACK, NOTIFY, and SAVE. There are five data stores which are

ADMIN, PET OWNER, PET, TRACKER, and HISTORY.

● PET OWNER needs to input PET OWNER SIGN UP INFORMATION like pet owner

id, password, email, phone, and pet owner photo in order to get access to the system. The

Page 38: NURUL ANIS ALIA BINTI AHMAD SHAH

22

PET OWNER SIGN UP INFORMATION will proceed under the REGISTER process. If

the PET OWNER SIGN UP INFORMATION entered by PET OWNER is incorrect with

the PET OWNER SIGN UP INFORMATION in the ADMIN data store then, PET

OWNER will not get to access the system.

● ADMIN need to input ADMIN SIGN UP INFORMATION like admin id, password,

email, phone, and admin photo in order to get access to the system. The ADMIN SIGN

UP INFORMATION will proceed under the REGISTER process. If the ADMIN SIGN

UP INFORMATION entered by ADMIN is incorrect with the ADMIN SIGN UP

INFORMATION in the ADMIN data store then ADMIN will not get to access the

system.

● After PET OWNER can log in to the system, PET OWNER will proceed under the

MANAGE process, the PET OWNER DETAIL will be sent to the PET OWNER data

store and the PET DETAIL will be sent to the PET data store.

● PET OWNER can send REPORT OR FEEDBACK in order to inform or suggest

anything. The REPORT OR FEEDBACK will proceed under the NOTIFY process, if the

REPORT OR FEEDBACK sent by the PET OWNER has been viewed and considered by

ADMIN then, PET OWNER will receive the feedback.

● PET OWNER can request PET FREQUENT LOCATION in order to search for the

object if there is any unexpected problem from the device. The PET FREQUENT

LOCATION will proceed under the SAVE process, if the PET FREQUENT LOCATION

requested by the PET OWNER has been recorded by the HISTORY data store then, PET

OWNER will receive the location.

Page 39: NURUL ANIS ALIA BINTI AHMAD SHAH

23

● TRACKER can request PET LOCATION in order to search for the object. The PET

LOCATION will proceed under the TRACK process, if the PET LOCATION requested

by the TRACKER has been recorded by the TRACKER data store then, TRACKER will

receive the location.

3.5.2) Level 1

Figure 3.5: The Data Flow Diagram (DFD) Level 1 of T-PC Apps.

3.6) Entity Relationship Diagram (ERD)

Page 40: NURUL ANIS ALIA BINTI AHMAD SHAH

24

Figure 3.6: The Entity Relationship Diagram (ERD) of T-PC Apps.

3.6.1) Interaction between PET OWNER and ADMIN (Interaction 1)

● ONE-to-ONE relationship

● One PET OWNER REGISTER to one ADMIN

● Primary key that involved in PET OWNER is PETOWNER_ID

● Primary key that involved in ADMIN is ADMIN_ID

Page 41: NURUL ANIS ALIA BINTI AHMAD SHAH

25

● Foreign key that involved in ADMIN is PETOWNER_ID

3.6.2) Interaction between PET OWNER and ADMIN (Interaction 2)

● ONE-to-ONE relationship

● One PET OWNER NOTIFY to one ADMIN

● Primary key that involved in PET OWNER is PETOWNER_ID

● Primary key that involved in ADMIN is ADMIN_ID

● Foreign key that involved in ADMIN is PETOWNER_ID

3.6.3) Interaction between PET OWNER and PET

● ONE-to-Many relationship

● One PET OWNER MANAGE to many PET

● Primary key that involved in PET OWNER is PETOWNER_ID

● Primary key that involved in PET is PET_ID

● Foreign key that involved in PET are PETOWNER_ID and GPS_ID

3.6.4) Interaction between PET OWNER and TRACKER

● ONE-to-ONE relationship

● One PET OWNER TRACK using one TRACKER

● Primary key that involved in PET OWNER is PETOWNER_ID

● Primary key that involved in TRACKER is GPS_ID

Page 42: NURUL ANIS ALIA BINTI AHMAD SHAH

26

● Foreign key that involved in TRACKER are PETOWNER_ID and PET_ID

3.6.5) Interaction between PET OWNER and HISTORY

● ONE-to-MANY relationship

● One PET OWNER SAVE view many(optional) HISTORY

● Primary key that involved in PET OWNER is PETOWNER_ID

● Primary key that involved in HISTORY is HISTORY_ID

● Foreign key that involved in HISTORY are PETOWNER_ID and GPS_ID

3.6.6) Interaction between PET and TRACKER

● ONE-to-ONE relationship

● One PET HAS one TRACKER

● Primary key that involved in PET is PET_ID

● Primary key that involved in TRACKER is GPS_ID

● Foreign key that involved in PET are PETOWNER_ID and GPS_ID

● Foreign key that involved in TRACKER are PETOWNER_ID and PET_ID

3.6.7) Interaction between TRACKER and HISTORY

● ONE-to-MANY relationship

● One TRACKER HAS many HISTORY

Page 43: NURUL ANIS ALIA BINTI AHMAD SHAH

27

● Primary key that involved in TRACKER is GPS_ID

● Primary key that involved in HISTORY is HISTORY_ID

● Foreign key that involved in TRACKER are PETOWNER_ID and PET_ID

● Foreign key that involved in HISTORY are PETOWNER_ID and GPS_ID

3.7) Summary

The system uses prototype methodology as explained because every phase is used during

the system development. The flows of this project have also been shown in detail through all of

the diagrams which are architecture diagram, context diagram (CD), data flow diagram (DFD),

and entity relationship diagram (ERD). To ensure that the development of the system is

accomplished as planned, all of the requirements and guidelines are used.

Page 44: NURUL ANIS ALIA BINTI AHMAD SHAH

28

CHAPTER 4

IMPLEMENTATION AND RESULT

4.1) Introduction

In this chapter, the implementation and result of the system is focused. The system

implementation is having the user module where the user’s detail and their pet’s detail can be

created, read, updated and deleted and the pet’s location can be read by the user as well. When

the user enters the system, they will receive the pet’s location from the GPS sensor in order to

help the user to view their pet’s location. Furthermore, the test of the system is carried out.

4.2) Interface Design

One of the important processes to develop a system is interface design. The high-

performance, activity, stability, low-cost of the system can be discussed and ensured by doing

well with numerous efforts in establishing and optimizing the interface design (Niu et al., 2020).

This stage is to consider the many design’s aspect like making the user-friendly system by

getting the user’s input and producing output of the interface. So, the interface design of the

system in this project is designed consistently to ensure the system is well-function for the users.

4.3) User Interface

Page 45: NURUL ANIS ALIA BINTI AHMAD SHAH

29

4.3.1) Login Interface

Figure 4.1: The login interface when sign in failed.

Figure 4.2: The login interface goes directly to the menu interface when sign in succeed.

Page 46: NURUL ANIS ALIA BINTI AHMAD SHAH

30

Figure 4.1 and Figure 4.2 show the login interface of the system. The valid email and

password of the user are required to log in into the system. If the entered email and password are

incorrect, the user cannot log in to the system. The messages will pop-up to inform the user

whether he or she has succeeded or failed to log in.

4.3.2) Sign Up Interface

Figure 4.3: The sign up interface with registration form.

Page 47: NURUL ANIS ALIA BINTI AHMAD SHAH

31

Figure 4.4: The sign up interface when the registration form is filled

.

Figure 4.5: The sign up interface when the image is uploaded.

Page 48: NURUL ANIS ALIA BINTI AHMAD SHAH

32

Figure 4.6: The sign up interface when the image is not uploaded.

Figure 4.7: The sign up goes directly to the log in interface when signing up succeed.

Page 49: NURUL ANIS ALIA BINTI AHMAD SHAH

33

Figure 4.8: The sign up goes directly to the log in interface when signing up failed.

Figure 4.3 until Figure 4.8 show the sign-up interface of the system. The correct email

and password of the user are needed to sign up into the system. If the entered email and

password are invalid, the user will stay in the sign-up interface while if the entered email and

password are valid, the user will go to the login interface directly. The messages will pop-up to

inform the user whether he or she has succeeded or failed to sign up.

4.3.3) Menu Interface

Page 50: NURUL ANIS ALIA BINTI AHMAD SHAH

34

Figure 4.9: The menu interface.

Figure 4.9 shows the menu interface of the system. Once the user can log in successfully,

he or she will go to the menu interface directly. The email of the user will be displayed and the

'Pet', 'GPS', and 'History' button will be displayed as well so that the user can use all of the

functions in the system.

4.3.4) User Profile Interface

Page 51: NURUL ANIS ALIA BINTI AHMAD SHAH

35

Figure 4.10: The user profile interface without pet owner detail

Figure 4.11: The pet owner form interface in the user profile interface.

Page 52: NURUL ANIS ALIA BINTI AHMAD SHAH

36

Figure 4.12: The user profile interface with pet owner detail.

Figure 4.10 until Figure 4.12 show the user profile interface of the system. The 'Add Pet

Owner Detail' button will be displayed. If the user clicks that button, he or she will go to the pet

owner form interface directly. The 'Name', 'Age', 'Gender', and 'Status’ are required to store the

details of the user. If the user clicks the 'Save' button, the details will be stored successfully.

4.3.5) Update User Profile Interface

Page 53: NURUL ANIS ALIA BINTI AHMAD SHAH

37

Figure 4.13: The update user profile dialog box with a new pet owner detail.

Figure 4.14: The user profile interface with the new pet owner detail.

Page 54: NURUL ANIS ALIA BINTI AHMAD SHAH

38

Figure 4.13 and Figure 4.14 show the update user profile interface of the system. User

can long-click at the current pet owner detail and he or she will go to the pet owner form dialog

box. If the user clicks the 'Update' button, the existing detail will be replaced with the new one.

4.3.6) Delete user profile interface

Figure 4.15: The delete user profile dialog box that can remove the pet owner detail.

Page 55: NURUL ANIS ALIA BINTI AHMAD SHAH

39

Figure 4.16: The user profile interface after the pet owner detail has been removed.

Figure 4.15 and Figure 4.16 show the delete user profile interface of the system. Same as

the update user profile interface, user can long-click at the current pet owner detail and he or she

will go to the pet owner form dialog box. If the user clicks the 'Delete' button, the existing detail

will be removed.

4.3.7) Pet Profile Interface

Page 56: NURUL ANIS ALIA BINTI AHMAD SHAH

40

Figure 4.17: The pet profile interface without pet detail.

Figure 4.18: The pet form interface in the pet profile interface.

Page 57: NURUL ANIS ALIA BINTI AHMAD SHAH

41

Figure 4.19: The pet profile interface with pet detail.

Figure 4.17 until Figure 4.19 show the pet profile interface of the system. The 'Add Pet

Detail' button will be displayed. If the user clicks that button, he or she will go to the pet form

interface directly. The 'Name', 'Age', 'Gender', and 'Type’ are required to store the details of the

user. If the user clicks the 'Save' button, the details will be stored successfully.

4.3.8) Update Pet Profile Interface

Page 58: NURUL ANIS ALIA BINTI AHMAD SHAH

42

Figure 4.20: The update pet profile dialog box with a new pet detail.

Figure 4.21: The pet profile interface with the new pet detail.

Page 59: NURUL ANIS ALIA BINTI AHMAD SHAH

43

Figure 4.20 and Figure 4.21 show the update pet profile interface of the system. User can

long-click at the current pet detail and he or she will go to the pet form dialog box. If the user

clicks the 'Update' button, the existing detail will be replaced with the new one.

4.3.9) Delete Pet Profile Interface

Figure 4.22: The delete pet profile dialog box that can remove the pet detail.

Page 60: NURUL ANIS ALIA BINTI AHMAD SHAH

44

Figure 4.23: The pet profile interface after the pet detail has been removed.

Figure 4.22 and Figure 4.23 show the delete pet profile interface of the system. Same as

the update pet profile interface, user can long-click at the current pet detail and he or she will go

to the pet form dialog box. If the user clicks the 'Delete' button, the existing detail will be

removed.

4.3.10) Tracker Interface

Page 61: NURUL ANIS ALIA BINTI AHMAD SHAH

45

Figure 4.24: The tracker interface

Figure 4.24 shows the tracker interface of the system. The ‘Latitude’, ‘Longitude’,

‘Speed’, ‘Satellite’, and ‘Direction’ data will be displayed.

4.3.11) Location Interface

Page 62: NURUL ANIS ALIA BINTI AHMAD SHAH

46

Figure 4.25: The location form and button in the location interface

.

Figure 4.26: The location form is filled.

Page 63: NURUL ANIS ALIA BINTI AHMAD SHAH

47

Figure 4.27: The location interface goes directly to the Google Maps interface when the button

is clicked.

Figure 4.28: The Google Maps interface in the location interface.

Page 64: NURUL ANIS ALIA BINTI AHMAD SHAH

48

Figure 4.25 until Figure 4.28 show the tracker interface of the system. The your location,

latitude value, and longitude value form will be displayed as well as the ‘Display Track’ button.

If the user clicks that button, he or she will go to the Google Maps interface directly which have

more functions, the location detected by the GPS sensor and every detail of the nearby area.

However, if the user does not have Google Maps in their devices, he or she will go directly to the

Play Store interface so that they can install the Google Maps first.

4.3.12) Log out Interface

Figure 4.29: The logout and also pet owner menu in the menu interface.

Page 65: NURUL ANIS ALIA BINTI AHMAD SHAH

49

Figure 4.30: The menu interface goes directly to login interface when the logout is clicked.

Figure 4.29 and Figure 4.30 show the log out interface of the system. If the user clicks the

‘Logout’, he or she will go to the login interface directly and messages will pop-up to inform the

user has logged out.

4.4) Testing Analysis

The black-box and the white-box testing are the techniques that consist in the testing of

the system. In the software engineering industry, software testing is an important activity

although it is costly because that industry still faces many challenges in their software testing

(Garousi et al., 2020). The software's correctness, security, completeness, and the quality can be

identified by using the software testing. To ensure that the system is functioning well, testing is

needed after the implementation phase.

Page 66: NURUL ANIS ALIA BINTI AHMAD SHAH

50

4.5) Test Case

In order to determine whether the system is working well and meets the need of

requirements, a test case needed to be done.

4.5.1) User Login Test Case

Table 4.1: User login test case for successful login.

Step Test Procedure Expected Result Result

1. Go to login interface Login interface will be loaded Success

2. Enter login detail:

Email (registered): [email protected]

Password (registered): anis03

Success

3. Click ‘Sign In’ button Pop up a message “sign in succeed”

Login interface will be loaded

Go to menu interface

Success

Table 3.2: User login test case for unsuccessful login.

Step Test Procedure Expected Result Result

1. Go to login interface Login interface will be loaded Success

2. Enter login detail:

Email (unregistered):

[email protected]

Password (unregistered): alia05

Success

3. Click ‘Sign In’ button Pop up a message “sign in failed”

Login interface will be loaded

Does not go to menu interface

Success

Page 67: NURUL ANIS ALIA BINTI AHMAD SHAH

51

4.5.2) User Sign Up Test Case

Table 4.3: User sign up test case for successful sing up.

Step Test Procedure Expected Result Result

1. Click ‘click here to register’ Login interface will be loaded Success

2. Enter sign up detail:

Image

Email (fit the email format and

unregistered email):

[email protected]

Password (fit the password fomat):

anis03

Success

3. Click ‘Sign Up’ button Pop up a message “signing up

succeed”

Sign up interface will be loaded

Go to login interface

Success

Table 4.4: User sign up test case for unsuccessful sign up.

Step Test Procedure Expected Result Result

1. Click ‘click here to register’ Login interface will be loaded Success

2. Enter sign up detail:

Email (does not fit email format or

registered email): [email protected]

Password (does not fit password

format): alia05

Success

3. Click ‘Sign Up’ button Pop up a message “signing up

failed”

Sign up interface will be loaded

Success

Page 68: NURUL ANIS ALIA BINTI AHMAD SHAH

52

4.5.3) View User Test Case

Table 4.5: View tracker test case.

Step Test Procedure Expected Result Result

1. Click ‘Pet Owner’ Menu interface will be loaded.

Pet owner detail will be displayed

based on either the pet owner detail

has been added or not.

Success

4.5.4) User Profile Test Case

Table 4.6: User profile test case.

Step Test Procedure Expected Result Result

1. Click ‘Add Pet Owner Detail’ button User profile interface will be loaded Success

2. Enter the pet owner detail:

Name: Alia

Age: 22

Gender: Female

Status: Single

Success

3. Click ‘Save’ button Pop up a message “pet owner

added”

User profile interface will be loaded

Success

4.5.5) Update User Profile Test Case

Table 4.7: Update user profile test case.

Step Test Procedure Expected Result Result

Page 69: NURUL ANIS ALIA BINTI AHMAD SHAH

53

1. Hold click the displayed pet owner

detail

Dialog box with the pet owner

detail form with ‘Update’ and

‘Delete’ buttons will be popped out.

Success

2. Enter user detail:

Name: Kiba

Age: 32

Gender: Male

Status: Married

Success

3. Click ‘Update’ button Pop up a message “pet owner

updated”

Go to user profile interface

Replace old pet owner detail with

new pet owner detail

Success

4.5.6) Delete User Profile Test Case

Table 4.8: Delete user profile test case.

Step Test Procedure Expected Result Result

1. Hold click the displayed pet owner

detail

Dialog box with the pet owner

detail form with ‘Update’ and

‘Delete’ buttons will be popped out.

Success

2. Click ‘Delete’ button Pop up a message “pet owner

deleted”

Go to user profile interface

Remove the pet owner detail

Success

4.5.7) View Pet Test Case

Page 70: NURUL ANIS ALIA BINTI AHMAD SHAH

54

Table 4.9: View pet test case.

Step Test Procedure Expected Result Result

1. Click ‘Pet’ Menu interface will be loaded.

Pet detail will be displayed based

on either the pet detail has been

added or not.

Success

4.5.8) Pet Profile Test Case

Table 4.10: Pet profile test case.

Step Test Procedure Expected Result Result

1. Click ‘Add Pet Detail’ button Pet profile interface will be loaded Success

2. Enter the pet detail:

Name: Gemuk

Age: 7

Gender: Female

Type: Cat

Success

3. Click ‘Save’ button Pop up a message “pet added”

Pet profile interface will be loaded

Success

4.5.9) Update Pet Profile Test Case

Table 4.11: Update pet profile test case.

Step Test Procedure Expected Result Result

1. Hold click the displayed pet detail Dialog box with the pet detail form

with ‘Update’ and ‘Delete’ buttons

will be popped out.

Success

2. Enter pet detail:

Name: Akamaru

Success

Page 71: NURUL ANIS ALIA BINTI AHMAD SHAH

55

Age: 17

Gender: Male

Type: Dog

3. Click ‘Update’ button Pop up a message “pet updated”

Go to user profile interface

Replace old pet detail with new pet

detail

Success

4.5.10) Delete Pet Profile Test Case

Table 4.12: Delete pet profile test case.

Step Test Procedure Expected Result Result

1. Hold click the displayed pet detail Dialog box with the pet detail form

with ‘Update’ and ‘Delete’ buttons

will be popped out.

Success

2. Click ‘Delete’ button Pop up a message “pet deleted”

Go to pet profile interface

Remove the pet detail

Success

4.5.11) View Tracker Test Case

Table 4.13: View tracker test case.

Step Test Procedure Expected Result Result

1. Click ‘Tracker’ Menu interface will be loaded.

Longitude, latitude, speed, satellite,

and direction data will be

displayed.

Success

Page 72: NURUL ANIS ALIA BINTI AHMAD SHAH

56

4.5.12) View Location Test Case

Table 4.14: View location test case.

Step Test Procedure Expected Result Result

1. Click ‘Location’ Menu interface will be loaded. Success

2. Enter location detail:

‘Your Location’: No.25, Lorong TMJ

4, Taman Maran Jaya, 26500 Maran,

Pahang

‘Longitude Value, Latitude Value:

3.59, 102.79

Success

3. Click ‘Display Track’ button Location interface will be loaded

Go to Google Maps interface

Success

4.5.13) Log Out Test Case

Table 4.15: Log out test case.

Step Test Procedure Expected Result Result

1. Click ‘Logout’ Pop up a message “has logged out”

Go to login interface

Success

4.6) Summary

The implementation and the testing of the system are discussed. To ensure the system

will be run efficiently without any error, the test is done to all of the modules properly.

Therefore, every developer must do the testing process through their system because it is a very

important process.

Page 73: NURUL ANIS ALIA BINTI AHMAD SHAH

57

CHAPTER 5

CONCLUSION AND DISCUSSION

5.1) Introduction

In this final chapter, the conclusion and discussion of the project is explained. This

chapter consists of project contribution, project constraint and limitations, and future work.

5.2) Project Contribution

Tracker-Pet Collar Application (T-PC APP) to Track Pet Using Global-Positioning

System (GPS) Sensor is created to help users, especially pet owners, track their pet's location by

providing a GPS sensor attached to an object that can be worn by pets. This GPS sensor helps

users avoid incidents such as lost pets while reducing pet owner anxiety and sadness.

Furthermore, this GPS sensor helps users in some key aspects such as safety, cost, and time.

First, in terms of safety, users can see the area where their pets are traveling so users can save

their pets if the area is close to dangerous areas. Second, in terms of cost, users can spend their

money by buying GPS sensors provided from this system only compared to when users spend

more money on posters and the public to look for their pets. Third, in terms of time, users can go

straight to the area detected by the GPS sensor without having to go to an area where none of

their pets are there. Therefore, this system’s objectives and scopes have been fulfilled, thus the

main goal of this project is to satisfy the needs of users especially pet owners to track their pet

using GPS sensors.

Page 74: NURUL ANIS ALIA BINTI AHMAD SHAH

58

5.3) Project Constraints and Limitations

The creation of this system has several constraints and limitations which are:

5.3.1) The user will not be exposed to the system unless they buy the GPS sensor first.

5.3.2) The user cannot track their pet’s location if the GPS sensor is damaged.

5.4) Future Work

The system can be created to be more efficient with more functions in the future if the

system is exposed to the users then they can buy the GPS sensor by having an E-Commerce

module in the system. The system provides durable and not easily damaged GPS sensors so that

the users can use the GPS sensor longer.

5.5) Conclusion

In a nutshell, Tracker-Pet Collar Application (T-PC APP) to Track Pet Using Global-

Positioning System (GPS) Sensor is the system that focuses on helping the users, especially pet

owners, to track their pet’s location. Based on the recent five years journals, GPS is still one of

the suitable systems used for tracking an object. I am sure this system will be able to work with

its current functionality and I hope that this system will be able to grow with more functionality

so that more users can be helped.

Page 75: NURUL ANIS ALIA BINTI AHMAD SHAH

59

References

Al-fedaghi, S., & Al-qemlas, D. (2020). Modeling Network Architecture : A Cloud Case Study.

20(3), 195–209.

Andi, J. (2015). Pembangunan Aplikasi Child Tracker Berbasis Assisted – Global Positioning

System ( A-GPS ) Dengan Platform Android. Jurnal Ilmiah Komputer Dan Informatika

(KOMPUTA), 1(1), 1–8. elib.unikom.ac.id/download.php?id=300375

Garousi, V., Felderer, M., Kuhrmann, M., Herkiloğlu, K., & Eldh, S. (2020). Exploring the

industry’s challenges in software testing: An empirical study. Journal of Software:

Evolution and Process, February. https://doi.org/10.1002/smr.2251

Gyimesi, A., Boudewijn, T. J., Buijs, R. J., Shamoun-Baranes, J. Z., de Jong, J. W., Fijn, R. C.,

van Horssen, P. W., & Poot, M. J. M. (2016). Lesser Black-backed Gulls Larus fuscus

thriving on a non-marine diet. Bird Study, 63(2), 241–249.

https://doi.org/10.1080/00063657.2016.1180341

Jaffari, A., Yoo, C.-J., & Lee, J. (2020). Automatic Test Data Generation Using the Activity

Diagram and Search-Based Technique. Applied Sciences, 10(10), 3397.

https://doi.org/10.3390/app10103397

Mohurle, S., & Patil, M. (2017). A brief study of Wannacry Threat: Ransomware Attack 2017.

International Journal of Advanced Research in Computer Science (IJARCS), 8(5), 1938–

1940. https://doi.org/http://dx.doi.org/10.26483/ijarcs.v8i5.4021

Nalla, K. R., & El-Ocla, H. (2017). Mobile DNUN: Danger Notification and User Navigation. IT

Professional, 19(1), 21–26. https://doi.org/10.1109/MITP.2017.12

Niu, F., Wang, D., Li, F., Liu, Y., Shen, S., & Meyer, T. J. (2020). Hybrid Photoelectrochemical

Water Splitting Systems: From Interface Design to System Assembly. Advanced Energy

Page 76: NURUL ANIS ALIA BINTI AHMAD SHAH

60

Materials, 10(11). https://doi.org/10.1002/aenm.201900399

Raikar, M. M., S M, M., & Mulla, M. M. (2020). Software Defined Internet of Things using

lightweight protocol. Procedia Computer Science, 171(2019), 1409–1418.

https://doi.org/10.1016/j.procs.2020.04.151

Setiaji, P., & Setiawan, A. (2020). Software As A Service (Saas) As A Handicraft Portal Bag.

Journal of Physics: Conference Series, 1430(1). https://doi.org/10.1088/1742-

6596/1430/1/012047

Umar, M. A. (2020). Analysis and Design of Fire Emergency Application ( FEAP ).

International Journal of Computer Science & Mobile Computing, 9(January), 40–51.

Page 77: NURUL ANIS ALIA BINTI AHMAD SHAH

61

APPENDIX

Page 78: NURUL ANIS ALIA BINTI AHMAD SHAH

62

APPENDIX A (GANTT CHART 1)

Week/ Activity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Final Year Project I

Final Year Project I Briefing

Project Title Proposal

Proposal Writing (Chapter 1-

Introduction)

Proposal Writing (Chapter 2-

Literature Review)

Proposal Writing (Continued)

Proposal Progress Presentation

and Panel’s Evaluation

Methodology Workshop

Proposal Writing (Chapter 3-

Methodology)

Final Year Project Format Writing

Workshop

Drafting Report of Proposal

Submit Draft of Report to

Supervisor

Preparation for Final Presentation

Final Presentation and Panel’s

Evaluation

Final Report Submission and

Supervisor Evaluation

Page 79: NURUL ANIS ALIA BINTI AHMAD SHAH

63

APPENDIX B (GANTT CHART II)

Week/ Activity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Final Year Project II

Project Meeting with Supervisor

Project Development

Project Development (Continued)

Project Development (Continued)

Project Development (Continued)

Progress Presentation and Panel’s

Evaluation

Project Development (Continued)

Project Testing

Project Testing (Continued)

Final Year Project Format Writing

Workshop

Project Testing (Continued)

Submit Draft Report and

Documentation of The Project

Submit Poster and Preparation for

Final Presentation

Final Presentation and Panel’s

Evaluation

Final Thesis Submission and

Supervisor’s Evaluation