Aldi Meilana 41514010128 - Mercu Buana

13
An Android-based Mobile Application for Search Location of Rental House Aldi Meilana 41514010128 DEPARTMENT OF INFORMATICS INTERNATIONAL CLASS PROGRAM FACULTY OF COMPUTER SCIENCE UNIVERSITAS MERCU BUANA JAKARTA 2018 http://digilib.mercubuana.ac.id/

Transcript of Aldi Meilana 41514010128 - Mercu Buana

Page 1: Aldi Meilana 41514010128 - Mercu Buana

An Android-based Mobile Application

for Search Location of Rental House

Aldi Meilana

41514010128

DEPARTMENT OF INFORMATICS

INTERNATIONAL CLASS PROGRAM

FACULTY OF COMPUTER SCIENCE

UNIVERSITAS MERCU BUANA

JAKARTA

2018

http://digilib.mercubuana.ac.id/

Page 2: Aldi Meilana 41514010128 - Mercu Buana

THESIS REPORT

Submitted To Complete Terms

Completed a Computer Bachelor Degree

Created by :

ALDI MEILANA

41514010128

DEPARTMENT OF INFORMATICS

INTERNATIONAL CLASS PROGRAM

FACULTY OF COMPUTER SCIENCE

UNIVERSITAS MERCU BUANA

JAKARTA

2018

http://digilib.mercubuana.ac.id/

Page 3: Aldi Meilana 41514010128 - Mercu Buana

i

STATEMENT SHEET

The undersigned below:

Student Number : 41514010128

Name : Aldi Meilana

Thesis Title : An Android-based Mobile Application for Search Location

of Rental House

Stating that the above-mentioned thesis is the title of my own work and not plagiarism.

If it is found in my thesis report there are elements of plagiarism, then I am ready to

get the academic sanctions associated with it.

Jakarta, January 2nd, 2018

Aldi Meilana

http://digilib.mercubuana.ac.id/

Page 4: Aldi Meilana 41514010128 - Mercu Buana

ii

APPROVAL SHEET

The undersigned below states that the thesis of the student:

Name : Aldi Meilana

Student Number : 41514010128

Faculty : Computer Science

Study Program : Informatics

Title : An Android-based Mobile Application for Search Location

of Rental House

Has been reviewed, approved, and accepted for thesis defence.

Jakarta, January 2nd, 2018

Approved and accepted

Raka Yusuf, ST, MTI

Thesis Supervisor

http://digilib.mercubuana.ac.id/

Page 5: Aldi Meilana 41514010128 - Mercu Buana

iii

VALIDATION SHEET

The undersigned below states that the thesis of the student:

Name : Aldi Meilana

Student Number : 41514010128

Faculty : Computer Science

Study Program : Informatics

Title : An Android-based Mobile Application for Search Location

of Rental House

Jakarta, January 2nd, 2018

Approved and accepted by,

Raka Yusuf, ST, MTI

Thesis Supervisor

Desi Ramayanti, S.Kom., M.T. Andi Nugroho,.ST,.M.Kom

Head of Informatics Coordinator of Thesis

http://digilib.mercubuana.ac.id/

Page 6: Aldi Meilana 41514010128 - Mercu Buana

iv

ACKNOWLEDGEMENT

Praise be to Allah SWT who has bestowed all grace so that the report of this

can be completed on time. Where the report of this thesis is one of the requirements to

complete the undergraduate degree program in Informatics Department.

This thesis report still cannot be perfect. Therefore, criticism and suggestion

will be welcome. This thesis report will also not be completed on time without

assistance, guidance, and motivation from various parties. Therefore, with all humility,

thanks will be conveyed to:

1. Mr. Raka Yusuf, ST, MTI as a thesis supervisor who has guided with his advice

and knowledge in the preparation of this thesis.

2. Mr. Dr. Harwikarya as Dean of Faculty of Computer Science of Mercu Buana

University.

3. Mrs. Desi Ramayanti, S.Kom., M.T. as the Head of Informatics Department of

Mercu Buana University.

4. Mr. Andi Nugroho, ST., M. Kom as coordinator thesis of informatics

department.

5. Mr. Ardiansyah, S.Kom., MTI as the secretary of the international class

program of informatics department.

6. For my father and my mother, my brother, my sister and the whole family of

writers, thank you for the outpouring of affection, encouragement, advice,

motivation, and material sacrifices as long as the author pursued a study at the

Faculty of Computer Science at Mercu Buana University.

7. Laenaldi Saputra who has helped me to develop the application.

8. Arrival Dwi Sentosa who has helped me to develop the application and give a

suggestion.

9. Yoda Ramadhan which has helped make the application logo design.

10. My classmates who are in the international class of informatics.

http://digilib.mercubuana.ac.id/

Page 7: Aldi Meilana 41514010128 - Mercu Buana

v

11. My classmates who are studying at Beijing Institute of Technology.

12. All my friends who are studying at Mercu Buana University.

13. And my friends who can not be mentioned.

Final words with all humility apologize as much as possible for all the

shortcomings and limitations in the writing of this thesis report. Hopefully, this final

report can provide benefits to interested parties.

Jakarta, January 2018

Aldi Meilana

http://digilib.mercubuana.ac.id/

Page 8: Aldi Meilana 41514010128 - Mercu Buana

vii

TABLE OF CONTENTS

STATEMENT SHEET ................................................................................................ i APPROVAL SHEET .................................................................................................. ii VALIDATION SHEET ............................................................................................. iii ACKNOWLEDGEMENT ......................................................................................... iv

ABSTRACT ................................................................................................................ vi TABLE OF CONTENTS .......................................................................................... vii LIST OF FIGURE ...................................................................................................... x

LIST OF TABLE ...................................................................................................... xii CHAPTER 1. INTRODUCTION ......................................................................... 1

1.1 Background .................................................................................................... 1

1.2 Research Questions ........................................................................................ 2

1.3 Research Objectives & Benefit ...................................................................... 2

1.4 Scope of Research .......................................................................................... 2

1.5 Methodology .................................................................................................. 2

1.6 Writing System ............................................................................................... 4

CHAPTER 2. LITERATURE REVIEW ............................................................. 5

2.1 Population ....................................................................................................... 5

2.1.1 Population in Indonesia ................................................................................ 5

2.1.2 The Poor in Indonesia .................................................................................. 5

2.2 Economy ......................................................................................................... 6

2.2.1 History of Indonesian Economy .................................................................. 6

2.2.2 The Economic Impact of Urbanization ........................................................ 7

2.3 Urbanization ................................................................................................... 8

2.4 Housing .......................................................................................................... 8

2.5 Information ................................................................................................... 10

2.6 Information System ...................................................................................... 10

2.7 Android ......................................................................................................... 11

2.7.1 Developments Android Smartphone .......................................................... 11

2.7.2 The development version of Android ........................................................ 12

http://digilib.mercubuana.ac.id/

Page 9: Aldi Meilana 41514010128 - Mercu Buana

viii

2.7.3 Android Studio ........................................................................................... 15

2.8 Waterfall Method ......................................................................................... 16

2.9 UML ............................................................................................................. 17

2.9.1 Use Case Diagram ...................................................................................... 18

2.9.2 Activity Diagram ........................................................................................ 19

2.9.3 Sequence Diagram ..................................................................................... 20

2.9.4 Class Diagram ............................................................................................ 21

2.10 Java Programming .................................................................................... 22

2.11 Database .................................................................................................... 23

2.12 Firebase ..................................................................................................... 23

2.12.1 Firebase Features ...................................................................................... 23

2.12.2 Firebase Advantages ................................................................................ 23

2.12.3 Firebase Limitations ................................................................................. 24

2.13 Javascript Object Notation (JSON)........................................................... 24

2.14 Global Positioning System (GPS) ............................................................ 24

2.15 Google Maps ............................................................................................. 25

2.16 Literature Review ..................................................................................... 25

CHAPTER 3. ANALYSIS AND DESIGN ......................................................... 28

3.1 System Analysis ........................................................................................... 28

3.1.1 Problem Analysis ....................................................................................... 28

3.1.2 Workflow System ...................................................................................... 29

3.1.3 Use Case Diagram ...................................................................................... 29

3.2 System Design .............................................................................................. 33

3.2.1 Activity Diagram Design ........................................................................... 33

3.2.2 Sequence Diagram Design ......................................................................... 38

3.2.3 Database Design ......................................................................................... 43

3.2.4 Interface Design ......................................................................................... 45

CHAPTER 4. IMPLEMENTATION AND TESTING ..................................... 53

4.1 Implementation ............................................................................................. 53

4.1.1 Software and Hardware Used..................................................................... 53

4.1.2 Process Implementation ............................................................................. 54

http://digilib.mercubuana.ac.id/

Page 10: Aldi Meilana 41514010128 - Mercu Buana

ix

4.1.3 Database Implementation ........................................................................... 59

4.1.4 Interface Implementation ........................................................................... 61

4.2 Testing Functionality .................................................................................... 65

4.2.1 Testing Environmental ............................................................................... 65

4.2.2 Testing Scenario ......................................................................................... 66

4.2.3 Testing Result ............................................................................................ 67

4.3 Analysis of Testing Results .......................................................................... 68

CHAPTER 5. CONCLUSION AND SUGGESTION ....................................... 70

5.1 Conclusion .................................................................................................... 70

5.2 Suggestion .................................................................................................... 70

REFERENCES ........................................................................................................... A

APPENDIX ................................................................................................................. D

http://digilib.mercubuana.ac.id/

Page 11: Aldi Meilana 41514010128 - Mercu Buana

x

LIST OF FIGURE

Figure 2.1 Waterfall method………………………….............…………………… 16

Figure 2.2 Notation of Use Case Diagram………………………………………… 18

Figure 2.3 Notation of Activity Diagram………………………………………….. 20

Figure 2.4 Notation of Sequence Diagram………………………………………… 21

Figure 2.5 Notation of Class Diagram…………………………………………….. 22

Figure 3.1 Use Case of Rental House Search……………………………………... 30

Figure 3.2 Activity Diagram of Register………………………………………….. 34

Figure 3.3 Activity Diagram of Login…………………………………………...... 35

Figure 3.4 Activity Diagram of Search……………………………………………. 36

Figure 3.5 Activity Diagram of Add Rental House……………………………….. 37

Figure 3.6 Activity Diagram of About…………………………………………….. 38

Figure 3.7 Sequence Diagram of Register………………………………………… 39

Figure 3.8 Sequence Diagram of Login…………………………………………… 40

Figure 3.9 Sequence Diagram of Search………………………………………….. 41

Figure 3.10 Sequence Diagram of Add Rental House…………………………….. 42

Figure 3.11 Sequence Diagram of About…………………………………………. 43

Figure 3.12 Class Diagram of Rental House Search……………………………… 44

Figure 3.13 Login Page Interface Design…………………………………………. 46

Figure 3.14 Register Page Interface Design………………………………………. 47

Figure 3.15 Menu Page Interface Design…………………………………………. 48

Figure 3.16 Add Rental House Page Interface Design……………………………. 49

Figure 3.17 Rental House Search Page Interface Design…………………………. 50

Figure 3.18 About Page Interface Design…………………………………………. 51

Figure 3.19 Logo of Application…………………………………………………...52

Figure 4.1 User Table Implementation……………………………………………. 60

Figure 4.2 Rental House Table Implementation…………………………………... 60

http://digilib.mercubuana.ac.id/

Page 12: Aldi Meilana 41514010128 - Mercu Buana

xi

Figure 4.3 Register Interface Implementation…………………………………….. 61

Figure 4.4 Login Interface Implementation……………………………………….. 62

Figure 4.5 Search Interface Implementation………………………………………. 63

Figure 4.6 Add Rental Interface Implementation…………………………………. 64

Figure 4.7 About Interface Implementation……………………………………….. 65

http://digilib.mercubuana.ac.id/

Page 13: Aldi Meilana 41514010128 - Mercu Buana

xii

LIST OF TABLE

Table 2.1 Compare of Literature Review………………………………………….. 25

Table 3.1 Use Case of Register……………………………………………………. 30

Table 3.2 Use Case of Login………………………………………………………. 31

Table 3.3 Use Case of Search………………………………………………………31

Table 3.4 Use Case of Add Rental House…………………………………………. 32

Table 3.5 Use Case of About……………………………………………………… 32

Table 3.6 User Table………………………………………………………………. 44

Table 3.7 Rental House Table……………………………………………………... 44

Table 4.1 Smartphone Specifications……………………………………………… 65

Table 4.2 Application Testing Scenario…………………………………………… 66

Table 4.3 Testing Result…………………………………………………………... 67

http://digilib.mercubuana.ac.id/