Smart Tourist Guide
By
Group
member name
Supervised
by
Supervisor
Name
Batch
2017
A
thesis submitted to the Department of Computer Science & IT,
Sarhad
University of Science &IT, Peshawar
in
partial fulfillment of requirement for the degree of BS(SE)
Certificate of
Approval
We
accept the work contained in this report titled, “Smart Tourist Guide” as a
confirmation to the required standard for the partial fulfillment of the degree
of Bachelor of Computer Science.
__________________ __________________
Head
of Department, CS/IT Supervisor
__________________
Examiner
Declaration
of Authorship
We
declare that the work provided in this thesis, named "Android App Smart
Tourist Guide," is our own. We can confirm:
This
work was completed entirely or mostly while pursuing a Bachelor of Software
Engineering degree at this institution.
Any
parts of this thesis that have been previously submitted for a degree or other
qualification at this University or another institution have been explicitly
indicated.
When
we consult other people's published work, we always make sure to credit them.
We
always give the source when we quote from other people's work.
This
thesis is completely our own work, with the exception of such citations.
We've
recognized all major sources of assistance.
Acknowledgements
We'd
like to express our thanks to ALLAH, who granted me not only the capacity to
develop and programme this system, but also the capacity to be patient.
Dr.
Jehangir Khan, HOD, Computer Science Department, Sarhad University Peshawar,
for his constant support, inspiration, and professional advice throughout the
development of this project, which has proved to be an essential component of
it, I am thankful. This project could not have progressed to this stage without
his invaluable assistance and direction, in our opinion.
I'd
want to express my gratitude to all of the faculty members, my project members,
and the Department of Computer Science at Sarhad University for their time
spent evaluating and reviewing the project work.
I'd
want to offer our genuine and heartfelt thanks to those who have directly
supported me, provided mental encouragement, assessed and critiqued our work at
various stages throughout the development of this project, and indirectly
helped us prepare this dissertation.
Abstract
The
goal of this project is to create a tour guide App for Swat Pakistan, which is
able to effectively advise the tourists that visit swat for natural beauty and
Archaeological remains sites.Our focus for this project is on software support
for location based applications ; we are not just interested in the location
,tourist spots or Archeological sites
but also other elements of the user's emergency nearby such as
hospitals, ambulance, First Aid medical stores, police station, Rescue,
Automobile Mechanic. And also the user’s booking system such as Cab car
booking, hotels ,restaurants booking and booking a professional guide man for
exploring the swat beauty and history of archaeological remains.The visitors
may also use Smart Tourist Guide App instead of booking a professional guide
man, and use this app for other many reasons, such as location searching,
location calculation, obtaining basic textual information and basic location
data that user usually cannot get on Google maps. The App utilises the Maps SDK
for Android,Directions API,Distance Matrix API,Maps Embed API,Places API,Roads
API, Location API, Firebase API,Firebase realtime database, Firebase firestore,
Firebase auth,
Firebase
cloud messaging,GPS, the Internet and mobile data to provide its services. This
programme requires a smartphone with an Internet connection.
Table Of Content
Chapter 1 12
Introduction 12
1. Introduction: 13
1.2 Problem Statement: 13
1.3 Aims and Objectives: 14
1.4 Features: 15
1.5 Importance of Swat : 16
1.5.1 Kotah Valley 21
1.5.2 Saidu Valley 24
1.5.3 Najigram Valley 25
1.5.4 Karakar Valley 25
1.5.5 Kandak Valley 27
1.6 Summary 30
CHAPTER 2 31
Literature Review 31
2.1 Static Map Approaches 32
2.1.1 Personal Activity Travel Surveys 32
2.1.2 The Services Based on Location 33
2.1.3 Security 33
2.2 Challenges 33
2.3 Existing Solutions 34
2.4 Uses of API 35
2.4.1 Google Map API 35
2.4.2 Firebase API 36
2.5 Location Detection 37
2.6 Android Overview: - 38
2.6.1 Hypertext Transfer Protocol (HTTP) Connection 38
2.6.2 Google Map 40
Chapter 3 41
Proposed Methodology 41
3.1 Gaining Software Requirement 42
3.2 Methodology for System Design 44
3.3 Method of Testing 45
3.4 Android Architecture 47
3.5 Life Cycle of Android Application 47
3.5.1 Active and Running state 48
3.5.2 Paused state 48
3.5.3 Stopped state 49
3.5.4 Destroyed/Dead state 49
3.6 Android Versions and Its latest comparison 49
3.7 Project Contribution 50
3.7.1 Direction 51
3.7.2 Locations 51
3.7.3 Nearby Places 51
3.7.5 Map Marker Information 53
3.8 Fundamentals of Application 54
3.8.1 Activity 54
3.8.2 Services 54
3.9 Swat smart tourist guide Application Architecture: - 55
3.10 Development of Software 57
3.11 Summary of Guide 57
Chapter 4 58
Results and Conclusions 58
4.1 Analysis 59
4.2. Design 59
Fig 4.1 Use Case Diagram 60
Fig 4.2 Sequence Diagram 61
Fig 4.2.1 Sequence Diagram 62
Fig 4.2.2 Class Diagram 63
4.2.1 Database Design 63
4.3 Implementation 65
4.3.1 Main Menu 67
4.3.2 Details Main Menu 69
4.3.3 Police Station Menu 70
4.3.4 Mechanic Menu 71
4.3.5 Medical Emergency Menu 72
4.3.6 Call To Rescue 1122 Menu 72
4.3.7 Call To Ambulance Menu 74
4.3.8 First Aid And Medical Stores Menu 75
4.3.9 Nearest Hospitals Menu 75
4.3.10 Cab Car Menu 76
4.3.11
Ambulance Admin Menu 77
4.4
Conclusion 77
Chapter
5 78
Future
Work 78
5.1
Adding Google Street view 79
5.2
Offline version 79
References 80
List
of Figures
Fig.1
Historic sites of swat 16
Fig.1.1
Pre-Protohistoric Sites 17
Fig
1.2 Late and early Islamic Sites 18
Fig
1.3 Rock-art and Rock Artifacts Sites 19
Fig.
1.4 Painted shelters Sites 20
Fig.
2.1: Global Positioning System (GPS ) with 4 satellite connected out of 24 36
Fig.
2.2: google map 37
Fig.
2.3 Download mechanism 40
Fig.
3.1: Architecture of android based tour guide system 47
Fig.
3.2: Android Application Life Cycle reprinted from strawflower.com 48
Fig.
3.3: Android Versions and Its latest comparison 50
Fig.
3.4: Shows multiple nearby places 52
Fig.
3.5: Shows customize markers on map 53
Fig.
3.6: Smart Tourist Guide Application login page 55
Fig.
3.7: Smart Tourist Guide Application Main Menu 56
Fig.
4.1 Use Case Diagram 60
Fig.
4.2 Sequence Diagram 61
Fig.
4.2.1 Sequence Diagram 62
Fig.
4.2.2 Class Diagram 63
Fig.
4.3 Firebase Database Structure 64
Fig.
4.3.1 Database Child Node 64
Fig.
4.3.2 Database Sub Child Node 65
Fig.
4.4 Snippet of Application Layout 66
Fig.
4.5 Main Menu 68
Fig.
4.6 Details Main Menu 70
Fig.
4.7 Police Station Menu 71
Fig.
4.8 Mechanic Menu 72
Fig.
4.9 Medical Emergency Menu 72
Fig.
4.10 Call To Rescue 1122 Menu 73
Fig.
4.11 Call To Ambulance Menu 75
Fig.
4.12 First Aid And Medical Stores Menu 75
Fig.
4.13 Nearest Hospitals Menu 76
Fig.
4.14 Cab Car Menu 76
Fig.
4.15 Ambulance Admin Menu 77
Chapter
1
Introduction
1.
Introduction:
Swat
is the city bestowed with immense natural and cultural resources, which can be
utilized for sustainable tourism. The city has the potential to attract
visitors across the globe. Unfortunately the tourism resources of the city have
not been determined/ utilized and this industry has never been on the
priorities of the previous governments Pakistan. Besides, tourism in the
country has not been planned properly and this industry is facing immense
problems. These problems have greatly affected international tourism in the
country. Thus, the tourism industry in the city is not playing its role as it
should be.[1]
The
initiative aims to create and develop a tourism guide for swat to help local
and foreign visitors. Because the appropriate tourist guide is not available,
visitors have to confront numerous challenges. The system recalls facts and
statistics which are needed for decision-making, such as temperature, sea level
heights, weather conditions, dates and history etc. Our focus for this project
is on software support for location based applications ; we are not just
interested in the location, tourist spots or Archeological sites but also other elements of the user's
emergency nearby such as hospitals, ambulance, First Aid medical stores, police
station, Rescue, Automobile Mechanic. And also the user’s booking system such
as Cab car booking, hotels, restaurants booking and booking a professional
guide man for exploring the swat beauty and history of archaeological
remains.The visitors may also use Smart Tourist Guide App instead of booking a
professional guide man, and use this app for other many reasons, such as
location searching, location calculation, obtaining basic textual information
and basic location data that user usually cannot get on Google maps.[2]
This
Smart Tourist Guide project is a Google Map API, Global Positioning System
(GPS) and Internet application for Android. The system takes latitude and
length and displays the location on the map. It also estimates the distance to
the target destination from the current user location. The application will
contribute to contemporary tourist technologies and promote tourism.[3]
1.2
Problem Statement:
Before
making this project, we inspected a lot of projects, apps, and research. So we
came to the conclusion that there is no such application for the Tourism
industry that can solve the following problems.[4]
1. No such application is available about
archeological tourism in pakistan.
2. No application has a medical emergency
system i.e to book an ambulance, call for rescue, find nearest hospitals and
find nearest first aid medical stores in case of an accident.
3. There is no option in any application
to book a professional guide man for exploring the beauty and archeological
remains of swat Pakistan.
4. There is no option in any software to
book a rental car for yourself in mountainous areas.
5. There is no option in any software to
call an automobile mechanic, in case of breakdown of the tourist vehicle.
6. There is no option in any software to
inform the nearest police station, in case of misbehaving with the tourist.
For
the above problems of tourism service and in order to guide tourists properly
and to improve and promote the tourism service. We are developing this
application. With this App, tourism services will work more smoothly.[5]
1.3
Aims and Objectives:
The
purpose of designing and developing this project is to create a smart tourist
guide app for swat Pakistan in order to reduce the number of problems
encountered by our visitors when visiting swat Pakistan. Tourists going to
different regions of Swat discover a dearth of information about the places and
amenities available. The application must be a user-friendly intelligent
tourist guide that runs on the Android operating system in order to be
considered. Due to the high volume of local and foreign visitors in swat
Pakistan, this application is beneficial to tourists. Due to the fact that
consumers today choose to utilise Android applications.[6]
Due
to the ease with which it may be transported.
•With
interactive Google Maps, the programme acts as a virtual guide for tourists. To
offer visitors with location-based services using GPS coordinates.
• To
determine the distance between present and intended destinations.
• To
give basic information about tourist attractions.
• To
assist the tourist sector by enhancing tourism via the use of contemporary
technology.
• To
make accessible required direction services and a compass for determining the
proper course of action.[7]
1.4
Features:
● In case of misbehaving with the
tourist, the nearest police station should be informed by this system.
● In case of breakdown of the tourist
vehicle, the nearest mechanic should be called by the application.
● In case of accidents, call the nearest
first Aid service, ambulance service, or two chain services (for lifting the
vehicle).
● Service of booking an archeological
guide man, to visit archeological and historical sites (such as swat barikot
baziraa (historic place of Alexander the great and Hinduism(now Vishnu mandir
is discovered on top of ghwandy hill) or Jehanabad Buddha Statue or Ghaligay
Buddha Statue and Archaeological Remains or Mehmood Ghaznavi Mosque Odigram,
etc.)
● Service of booking Hotels, Restaurants
and Cab Car.
● Navigate any location on maps.
● Get detailed information about the
archeological sites.
1.5
Importance of Swat :
Swat
is an amazingly beautiful mountain range in the world's highest mountain, the
Karakoram range in the Western Himalayas of Pakistan. History has played a
fascinating role in this valley. Alexander the Great arrived in the region in
326 BCE, following the prosperity of Gandhara, during which Buddhism spread to
China and SouthEast Asia via the Silk Road.[8]
Swat
is a popular tourist destination in Pakistan. One main reason for its
popularity is its rich heritage and archaeological places which have been a
center of attraction to both Pakistani and foreign tourists. So far, many
archeological sites have been documented in the valley. Amongst Buddhist sites
are more in number because Swat had been the center or one can without any
doubt say that the birthplace of Vajrayāna or Tantric Buddhism. Padmasambhava,
the founder of Tantric Buddhism, was from Swat. Apart from Buddhist
sanctuaries, Ghaznavid period mosque, remains of a city of Gandhara called
Barikot or Bazira and pre and protohistoric rock art sites are few other
fascinating archaeological sites. However, this ‘chapter’ has been particularly
meant to highlight the importance of the archaeology of Swat.[9]
The
following are some hidden archaeological sites names which attract both
national and international tourists.[10]
SITES
LIST[11]
Fig.1
Indicates all historic sites of swat
Fig.
1.1 Indicates the Pre-Protohistoric
sites of swat
Fig.1.2
Indicates late and early islamic sites of swat
Fig
1.3 Indicates rock-art and rock artifacts sites of swat
Fig.1.4
Indicates painted shelters sites of swat
Fig.1
Historic sites of swat
Fig.1.1
Pre-Protohistoric Sites
Fig
1.2 Late and early Islamic Sites
Fig
1.3 Rock-art and Rock Artifacts Sites
Fig.
1.4 Painted shelters Sites
1.5.1
Kotah Valley
● Kamal-china 4 (Site 339)
● Kamal-china 5 (Site 340a)
● Rahmanuddin house (Site 371)
● Bang-khas 1 (Site 376)
● Sur-kamar (Site 145b)
● Tor-gumbat (Site 146b)
● Hisar 1 (Site 346)
● Hisar 2 (Site 347)
● Hisar 3 (Site 348)
● Hisar 4 (Site 349)
● Nirbazai (Site 358b)
● Tapa (Site 395)
● Tope-china (Site 215)
● Top-china 1 (Site 216)
● Top-china 2 (Site 217)
● Top-china 3 (Site 218)
● Top-china 4 (Site 219)
● China (Site 222)
● Torkamar (Site 225)
● Lekha-gata 1 (Site 221)
● Lekha-gata 2 (Site 235)
● Lekha-gata 3 (Site 333)
● Kakai-kandao 1 (Site 130a)
● Kakai-kandao 1 (Site 130b)
● Kakai-kandao 2 (Site 147)
● Kakai-kandao 3 (Site 148)
● Sargah-sar 1 (Site 1121a)
● Sargah-sar 1 (Site 1121b)
● Sargah-sar 2 (Site 334)
● Sargah-sar 3 (Site 223)
● Sargah-sar 4 (Site 240)
● Muhammad-patai 1 (Site 131)
● Muhammad-patai 2 (Site 335a)
● Kamal-china 1 (Site 336)
● Kamal-china 2 (Site 337)
● Kamal-china 3 (Site 338)
● Kamal-china 5 (Site 340b)
● Bara Kamal-china 1 (Site 353)
● Pore-tangai (Site 341)
● Badze 1 (Site 342)
● Badze 2 (Site 343)
● An erosive cavity a few m E of Badze 1
(Site 342)
● Dandi-sar 1 (Site 344a)
● Dandi-sar 2 (Site 344b)
● Dandi-sar 3 (Site 345a)
● Manzare-tangai 2 (Site 355)
● Manzare-tangai 3 (Site 356) (Fig. 26)
● Manzare-tangai 4 (Site 357)
● Nirbazai (Site 358a)
● Tapa (Site 360a)
● Sanchar (Site 361)
● Malak-ziarat (Site 362a)
● Mena (Site 363a)
● Sandok (Site Area 364)
● Alim Salim house (Site 368) \
● Sandok-tangai 1 (Site 369)
● Sandok-tangai 2 (Site 370)
● Banj-ghwandai 1 (Site 374)
● Banj-ghwandai 2 (Site 375a)
● Bang-khas 1 (Site 359a)
● Bang-khas 3 (Site 378a)
● Gwarejo-patai (Site 379) (Figs. 30-31)
● Palwano-gata (Site 380a) (Figs. 32-37)
● Kafir-kot 1 (Site 350)
● Kafir-kot 2 (Site 396; aka as ‘350-1’)
● Chuwa 2 (Site 381)
● Marano-tangai 1 (Site 352)
● Safar-kandao (Site 354)
● Talang (Site 388)
● Usmani (Site 399)
● Ulu-tangai (Site 382)
● Ghoba-khel (Site 384)
● Nawe-kalai (Site 398)
● Dandi (Site 397)
● Mullah Hasan 1 (Site 201)
● Mullah Hasan 2 (Site 212)
● Mullah Hasan 3 (Site 213)
● Mullah Hasan 4 (Site 214)
● Tor-gumbat (Site 146a)
● Sur-kamar (Site 145a)
● Muhammad-patai 2 (Site 335a)
● Dandi-sar 3 (Site 345b)
● Malak-ziarat (Site 362b)
● Mena (Site 363b)
● Bar Sandok 1 (Site 238)
● Bar Sandok 2 (Site 239)
● Banj-ghwandai 2 (Site 375b)
● Ghwandai (Site 372)
● Bang-khas 2 (Site 377)
● Bang-khas 3 (Site 378b)
● Chuwa 1 (Site 351)
● Bara Kamal-china 2 (Site 394)
● Palwano-gata (Site 380b)
1.5.2
Saidu Valley
● Madeslam (Site 389)
● Ghirai (Site 390)
● Badra (Site 391)
● Meragai (Site 392)
1.5.3
Najigram Valley
● Kuz Jamsara (Site 253a)
● Tangai-kote (Site 383)
● Bila-tangai (Site 386)
● Dwagalai (Site 387)
● Najigram (Site 203)
● Tokar-dara 1 (Site 201)
● Tokar-dara 2 (Site 301)
● Sperki-gumbat 1 (Site 204)
● Sperki-gumbat 2 (Site 205)
● Dabagai 1 (Site 206)
● Dabagai 2-3 (Sites 207-202)
● Abbasaheb-china 1 (Site 208)
● Abbasaheb-china 2 (Site 302)
● Masum Shahid (Site 209)
● Kolai (Site 210)
● Bara Jamsara (Site 252)
1.5.4
Karakar Valley
● Gumbatuna 1 (Site 326)
● Gumbatuna 2 (Site 325)
● Kanderai 1 (Site 303)
● Asharai (Site 322)
● Ab-china (Site 327)
● Naitmara 1 (Site 305)
● Ghadiar 2 (Site 310)
● Ghadiar 3 (Site 315)
● Ghadiar 4 (Site 316)
● Top-dara (Site 312)
● Tok-dara (Site 317)
● Amluk-dara 1 (Site 314)
● Bila-tangai (Site 319)
● Karakar-kandao 2 (Site 323)
● Hakim Barikot (Site 004)
● Uech-tangai (Site 311)
● Naitmara 2 (Site 304)
● Kandarai 2 (Site 306)
● Ghadiar 1 (Site 309a)
● Ashtarai-ghar (Site 309b)
● Kilarano-tangai (Site 318)
● Nare-tangai (Site 320)
● Mia-kote (Site 321)
● Karakar-kandao 1 (Site 324)
● Hati-dara (Site 393)
● Amluk-dara 2 (Site 307)
● Bir-kot-ghwandai 1 (Site 001b)
● Chirgai-gat (Site 002)
● Jaurbanda-ghar (Site 166)
● Kanjar-kote 3 (Site 330)
● Gumbat 2 (Site 126a)
● Gumbat 3 (Site 164)
● Kandak-dherai (Site 132a)
● Torkmara-patai (Site 133a)
● Jabbrai (Site 332) (Fig. 7)
● Bang-doghal 1 (Site 134)
● Bang-doghal 2 (Site 1122)
● Jowar-[jabagai] (Site 135)
● Dwolasmane-patai 1 (Site 138a)
● Dwolasmane-patai 2 (Site 138b; aka as
‘138-2’)
● Dheri (Site 157a)
● Jowar-bandai 1 (Site 140b)
● Jowarbanda-sar (Site 220)
● Balah-kalai (Site 144)
● Kandak ford (Site 1120)
● Jawan-kote (Site 152a)
● Amluk (Site 136a)
● Kandarai 2 (Site 144b)
● Miage-sar (Site 243)
● Miage 1 (Site 244)
● Miage 2 (Site 245b)
● Manzare (Site Area 123)
● Manzare-tangai 1 (Site 242)
● Jowar-bandai 2 (Site 149b)
● Samgalai (Site 247)
● Daud-bandai 1 (Site 249)
● Nakhtar-patai (Site 163)
● Maishkano-kandao (Site 241)
●
1.5.5
Kandak Valley
● Bir-kot-ghwandai 1 (Site 001d)
● Bir-kot-ghwandai 1 (Site 001e)
● Maishkano-maidan (Site 162)
● Kandarai 2 (Site 144c)
● awarale-tangai (Site 161)
● Dheri (Site 157c)
● Jowar-bandai (Site 140c)
● Begum-kot (Site 359b)
● Bir-kot-ghwandai 1 (Site 001a)
● Bir-kot-ghwandai 2 (Site 101)
● Gwel[angaso]-dherai (Site 103a)
● Abwa 1 (Site 104a)
● Abwa 2 (Site 105a)
● Abwa 3 (Site 328a)
● Goratai-kandao 1 (Site 106)
● Goratai-kandao 2 (Site 107)
● Tahsildar[sep]-kabiruna (Site 108a)
● Shaga-malkidam 1 (Site 365)
● Shaga-malkidam 3 (Site 367)
● Kanjar-kote 2 (Site 329)
● Garam (Site 129a)
● Kandak (Site 124)
● Kandarai 2 (Site 144a)
● Gumbat 4 (Site 125)
● Dwolasmane-patai 3 (Site 159)
● Jowar-bandai 1 (Site 140a)
● Jowar-bandai 2 (Site 149a)
● Miage 2 (Site 245a)
● Torkmara-patai (Site 133a)
● Bir-kot-ghwandai 1 (Site 001c)
● Bir-kot-ghwandai 1 (Site 002d)
● Goratai (Site 102)
● Gwel[angaso]-dheri (Site 103b)
● Abwa 1 (Site 104b)
● Abwa 2 (Site 105b)
● Abwa 3 (Site 328b)
● Tahsildar[sep]-kabiruna (Site 108b)
● Shaga-malkidam 2 (Site 366)
● Kandak-khwar 1 (Site 109)
● Kandak-khwar 2 (Site 110)
● Kandak-khwar 3 (Site 111)
● Kandak-khwar 4 (Site 112)
● Kandak-khwar 5 (Site 113)
● Kandak-khwar 6 (Site 114 )
● Kandak-khwar 7 (Site 115)
● Kanjar-kote1 (Site 116)
● Kanjar-kote 2 (Site 120)
● Kanjar-kote 3 (Site 121)
● Kanjar-kote 4 (Site 122)
● Bazar-khela Kanderai (Site 117)
● Tanare-gharai (Site 331)
● Mata-bara (Site 118)
● Sanda-sar (Site 119)
● Gumbat 1 (Site 139)
● Gumbat 2 (Site 126b)
● Kandak (Site 124b)
● Shorghar (Site 128)
● Garam (Site 129b)
● Kandak-dherai (Site 132b)
● Torkmara-patai (Site 133b)
● Amluk (Site 136b)
● China-bara (Site 193)
● Dheri (Site 157b)
● Jowar-bandai 1 (Site 140b)
● Kuz Jowar-bandai (Site 246)
● Miage 3 (Site 137)
● Jalalai (Site 141)
● Alidad (Site 142)
● Shahr-banda (Site 143)
● Bandu-china (Site 150)
● Gumbatke-china (Site 151)
● Jowan-kote (Site 152b)
● Abadi (Site 153)
● Parla-banda Damazai (Site 248)
● Dur-bandai (Site 154)
● Daud-bandai 2 (Site 250)
● Daud-bandai 3 (Site 251)
● Ghar-patai (Site 155)
● Jahangir (Site 156)
● Noor-band Gumbat (Site 158)
● Inzar-bandai (Site 160)
1.6
Summary
The
aim, objectives and justification of the thesis outline how this research will
contribute to the existing body of research with regard to the understanding of
visitors’ experiences at Archaeological Sites. The research objectives arise in
a context which is concerned with exploring the differences/similarities among
visitors’ experiences at Archaeological Sites including pilgrims, religious
tourist and secular tourists. In addition, this study investigates the factors
affecting visitors’ experiences at Archaeological Sites.[12]
The
research approach is fundamentally different from that of other studies, which
have been concerned with visitors’ experiences at religious heritage sites.
Thus, based on the process defined in this research, a new pathway of exploring
visitors’ experiences at Archaeological sites is provided. Expanding the
foundations set out in this chapter, the literature review explores key theoretical
and conceptual framework relevant to the topic.
CHAPTER
2
Literature
Review
The
chapter addressed the characteristics of tourist guide styles and evaluated
many current applications for location-based services, distance computation,
and other functions.
2.1
Static Map Approaches
Certain
applications provide information via the use of static maps. Because these maps
are not interactive, the user cannot use true location-based services. For
effective navigation, the user need dynamic maps rather than static maps.[13]
Numerous
map applications display data in the following formats:
•
Textual data
•
Pictorial data
•
Static maps
•
Graphs
•
Tables
2.1.1
Personal Activity Travel Surveys
This
study propose a data collecting system and a prototype application for personal
activity travel surveys using the newest sensors on contemporary smartphones.
The framework's primary pair of components runs on cellphones and is supported
by cloud-based (online) services for data storage, information dissemination,
and decision assistance. The structure is composed of machine-learning
techniques for automatically determining the kind of activity and travel paths
that cause the least amount of disruption to the receiver.[14] Highlighted the
use of smartphone location data as an additional source of data for travel
behaviour research. The research is especially interested in the tool's
potential for analysing the dynamics of travel behaviour. The authors examined
the relative benefits of mobile location versus trip diaries/GPS monitoring as
a method for collecting data. Finally, they found that smart-phone location
data is a critical source of information for studying tourist behaviour.
2.1.2
The Services Based on Location
The
Location-Based Services offer a tailored choice to clients based on the geographic
location information given by the database. This facility makes use of
geographic data.
This
type of information can be gathered from the customer side, such as GPS, or
from the server side, such as positioning services tailored to the cellular
network operator, and from the system's communication technology, which
transmits data to an application that can process and respond to the requested
service.[15]
2.1.3
Security
Android's
architecture is safe, and its software is written in Java and XML. Using
Android's Software Development Kit (SDK) tools, the code is built into an
Android package kit (apk), which can be used on Android devices. The operating
system treats each programme as a unique Linux client; each application runs in
its own procedure that runs in isolation from the others.[16]
2.2
Challenges
The
mobile device overcame the difficulty of obtaining an accurate position from a
desired site, mapping the user's location, calculating the distance between two
locations, forecasting meteorological conditions, and locating multimedia
content. Numerous software programmes have been developed, but the particular
information that a tourist need is mostly obtained through newspapers, ads, and
magazines; these sources do not always provide correct information while a
tourist is travelling.[17]
2.3
Existing Solutions
● Keeping these problems in mind, many
apps have been suggested by various developer over the past decade to
effectively and efficiently manage the tourist sector via the provision of
various solutions.[18]
● One of the city guides is Islamabad
City Guide. It does not utilise Google Maps or GPS (Global Positioning System)
to display locations; instead, it uses static maps and photographs. It is not a
location-based service.[19]
● The BE-ON-THE-ROAD software is mostly
used for navigational purposes.[20]
● BE-ON-THE-ROAD is one application that
supports this functionality. It makes use of Google maps, its UI is unintuitive
and lacks textual and visual information regarding the geographical place.[21]
● Navigation displays all routes between
major cities based on GPS data. The user may readily access this function in
the proposed project, and the interface is user-friendly.[22]
● Additionally, BRouter provides
navigating services. However, the issue with this programme is that each time
it is used, it requests to download the map to the device. Which is perhaps not
the best way to offer navigational services to a tourist. As a result, my
proposed solution addresses this problem directly by giving direct access to
the map.[23]
● GPS Route Finder is a useful tool for
calculating distances between two places, but it does not offer any further
features other than distance computations. This is also a part of the planned
project. GPS is critical to the global transportation and carriage systems. It
provides accurate site information to as many individuals as possible
worldwide. GPS satellites transmit signals into the sky that are picked up by
receivers; these receivers may be standalone or integrated into the device they
are receiving. It offers three-dimensional data in the form of altitude,
latitude, and longitude. If the client device is equipped with a G.P.S. (Global
Positioning System), which is a must for contemporary smartphones, the user's
position may be determined quickly and precisely.[24]
Fig.
2.1: Global Positioning System (GPS ) with 4 satellite connected out of 24
2.4
Uses of API
2.4.1
Google Map API
The
following Google Maps API are used:[25]
Maps
SDK for Android:Bring the real world to your users with dynamic maps for the
web and mobile.
Directions
API:Provide directions for multiple transportation modes, featuring real-time
traffic information.
Distance
Matrix API:Calculate travel times and distances for multiple origins and
destinations.
Places
API:Integrate Google’s Place details, search, and autocomplete into your apps
Roads
API:Identify nearby roads using coordinates.
Geolocation
API:Get an approximate device location using nearby cell towers and WiFi nodes.
Geocoding
API:Convert coordinates into addresses and addresses into coordinates.
2.4.2
Firebase API
The
following Firebase API are used:[26]
Firebase
Api:It is an API for application data synchronization across Android, web, and
iOS devices. Application developers can rely on the platform for creating
collaborative real-time applications.
Firebase
auth:Firebase Authentication provides backend services, easy-to-use SDKs, and
ready-made UI libraries to authenticate users to your app.
firebase
messaging: Contains public API classes for Firebase Cloud Messaging.
Fig.
2.2: google map
2.5
Location Detection
The
global positioning system (GPS) is a navigation system component comprised of a
network of 24 outer earth satellites deployed by the United States military
department into an orbit. Initially, GPS was utilised by the army for a variety
of purposes, but in the 1980s, they revealed that the general public could now
use it. At an altitude of about 10,600 miles, 21 dedicated GPS satellites and
three spare satellites rotate around the globe. The satellites are positioned
in such a manner that four satellites remain above the sphere of the globe from
any location on the planet. Each satellite is equipped with an atomic clock, a
radio, and a bespoke computer. Satellites transmit their position and time data
constantly. At least once a day, each satellite verifies its position and time
with an earth station, in order to eliminate any small inaccuracies in the
broadcast data.[27]
Location
detection is a fundamental feature of this programme that entails detecting the
user's location on a map. It classifies objects based on their latitude and
longitude coordinates. It is essential to determine the device's accurate
position on the maps. Position discovery is a simple and quick technique for
determining the device's location on a map. Each point has a unique latitude
and longitude number; this information may be used to locate the
location/region on a map. The primary and most compelling argument to adopt this
technique is because the global positioning system (GPS) is a worldwide and
free service.[28]
The
device's accuracy is roughly within 10 metres, which is typically adequate to
determine the GPS device's position. The programme will automatically detect and
mark the position on Google maps, which is already incorporated into this
application.
2.6
Android Overview: -
Android
has garnered significant attention since its inception as an open source
smartphone operating system. Due to the open source nature, it is compatible
with a wide variety of devices, particularly smartphones. On the one hand, its
origins at Google make it ideal for usage with Google App Engine. Google offers
a framework for building Android applications that connects to the Google App Engine
system architecture. It's convenient to develop, debug, and test. On the other
hand, since this operating system may be launched on a variety of devices,
device fragmentation is a hurdle that must be addressed[29]. This section will
cover many critical aspects of developing and executing an Android smartphone
application. These critical elements include the use of Google Maps and the
http connection between a mobile device and Google App Engine.
2.6.1
Hypertext Transfer Protocol (HTTP) Connection
As
mentioned before, Google App Engine serves as a data aggregator and service
provider. As the party requesting data and services, the smartphone must
maintain an ongoing connection with the data server. However, data transfers
between Google App Engine and smartphones may be lengthy. This section will
cover long-term downloading chores.
Due
to the fact that the http connection to the data server may take a significant
amount of computer resources and time, it is not a good idea to place
activities such as image or video downloading in the main thread.
This
may result in the smartphone becoming unresponsive. If the job of downloading
is
placed
in the main thread, a significant amount of time may be wasted waiting for
server replies. Additionally, the main thread is unable to engage with any user
interface input during this period. Downloading operations should be carried
out in the context of an asynchronous job. For time-consuming activities,
asynchronous tasks should be used. When an asynchronous job is completed, it
sends a notice.
to
the central thread. After the main thread gets the notice, some modification to
the user interface occurs, for example, a pop-up alert message serves as a
reminder to the user.
Send
the notification
Fig.
2.3 Download mechanism
Within
the asynchronous job, Apache Http Components are used to maintain internet
connectivity since they excel at developing and maintaining low-level Java
components focused on HTTP and related protocols. To begin, the programme
generates an HTTP client from which an HTTP Get request is generated. If the
answer is valid, the JSON object containing the result may be retrieved and
decoded.
2.6.2
Google Map
The
smartphone application under investigation in this thesis must display tour
attractions on a map. This section discusses how to show this information on a
Google map.
Polygons
are used in the map display of smartphone apps to depict buildings or other items
on the map. A location may be shown as a polygon, such as a pin, on a Google
map, an iOS map, or another map application. Before Google Maps may be used to
show polygons (Google, 2014a), the following procedures must be completed:
•
Install the Google Service SDK and configure it.
•
Obtain a unique API Key for the application.
•
Ensure that the necessary setting is included in the application.
•
Incorporate a map view into your application.
After
completing these procedures, the data may be displayed on the map view through
polygons. Polygon is the name given to the painted object that is shown in the
map view.
Chapter
3
Proposed
Methodology
The
suggested solution makes use of Google Maps APIs to locate a user, compute the
distance between two locations, and display information about a user.
3.1
Gaining Software Requirement
One
of the main difficulties in this thesis is illustrating and finding the
system's primary needs. The requirements are demonstrated in this thesis using
human natural language and a use case .
Because
natural human language is used by ordinary human people to interact with one
another
On a
daily basis, there are minimal obstacles for a person to comprehend the
contents of natural language , as compared to other modes of communication. The
best alternative option for people without a background in software development
is to explain the software requirements using normal human language. To reduce
the imprecision, software specifications are often more detailed. are depicted
in the following manner:
Table
3.1 Requirement Format
Entity Should Do
Parties
involved in the
system Could / Will Actions
The
term 'Entity' refers to all parties engaged in the software system as a whole.
Because requirements specify which functions should be completed, 'Do' refers
to the activities that the entity will do.
Once
the structure for the software requirement is established, it is possible to
specify the needs for a software system. A software system's requirements fall
into three broad areas : engineering, certification, and delivery. The first
type of requirements, engineering requirements, are inextricably linked to
software. For instance, what the user interface should portray and the
software's functionalities should include. Additionally, they are referred to
as functional requirements. The other two kinds of criteria, certification and
delivery, are more closely linked to product standards. These are
non-functional needs. To fulfil criteria and be effective, the software's
quality should be high. be guaranteed and bugs of software should be controlled
to a limited amount. For instance, a quality criteria could be that software must
react to user input within 10 seconds.
Although
human natural language is much more comprehensible to ordinary humans, there
are certain shortcomings that must be overlooked. To begin, natural language is
insufficiently precise. In contrast to statistics or graphs, text descriptions
do not go into depth on factors. Second, miscommunication is another issue.
Even though the software requirements are described in the same natural
language, individual perceptions of the requirements differ. Natural human
language is only used to define high-level and broad needs due to its inherent
limitations.
To
address the shortcomings of real human language, use case analysis is
implemented. The use case analysis technique isolates the whole system.
Numerous main stages may be taken to build a use case analysis.
To
begin, the boundaries of the whole software system are established. The
software requirements may be thought of as the interaction of external entities
with the software system. Thus, the boundary must be specified to indicate
whether a party is a member of the software system or an external party.
Second,
the actors that serve as the interface between external parties and the
software system are specified. Actors encapsulate the interaction of external
elements with the software system. As shown in Figure 3, if the user requests
the navigation route between two specified start sites, the actor in this
situation is the request.
Fig.
3 Actor
Thirdly,
define each player in the scenario's use case. The actor just defines the
software need in broad terms and with some abstraction. Each process and
background information for an actor are detailed in the use case scenario.
Finally,
the UML graph incorporates all of the elements stated before.
By
and large, use case analysis needs readers to have a background in software
development in order to visualise the software requirements. The use case
descriptions, on the other hand, are more specific and thorough. In terms of
human natural language, even non-programmers may comprehend the information. Nonetheless,
owing to the intrinsic characteristics of natural language, the exact meaning
of software requirements is not always possible to convey.
3.2
Methodology for System Design
Our
system is divided into two main components. The client party is the
user-accessible Android smartphone application. The server party is hosted on
Google web Firebase . When the user will create an account then the menu page
will occur. In the menu page the user will be able to search Archeological or
picnic spots and also book an archaeological guide man and also other elements
of the user's emergency nearby such as hospitals, ambulance, First Aid medical
stores, police station, Rescue, Automobile Mechanic. And also the user’s
booking system such as Cab car booking, hotels ,restaurants booking.
3.3
Method of Testing
The
purpose of system testing is to verify that the system responds to requests and
does so effectively. Its goal is to identify flaws that may cause the system to
crash or result in an unexpected outcome. To locate defects, this thesis
employs primarily three kinds of testing methods to verify that the whole
software system operates properly.
Method
testing is the initial kind of testing. Method testing is the foundation for
testing the whole system, since the entire software system is composed of many
methods. To detect techniques, black box or white box testing is used to
identify three significant mistakes.
Error
in the syntax. When using an integrated development environment (IDE), these
types of mistakes may be identified throughout the coding process.
Error
in the function. While the technique may seem to be well-designed at first
sight, it may include flaws that cause problems. For instance, when input
parameters contain values that are close to or exceed the border.
Design
Error. The original concept upon which the technique is to be implemented is
incorrect. In comparison to the preceding two mistakes, this kind of inaccuracy
is often more difficult to identify. This kind of mistake does not occur as a
result of syntax or inheritance, but as a result of original design. As a
result, this kind of mistake must be examined via a broad perspective. After
functions are implemented, they must be verified to see whether they meet
requirements or not.
Module
testing is the second kind of testing. After verifying that each method works
well, the next step is to ensure that each module works properly. Assuring that
each method runs properly does not ensure that each module runs well. While the
method may function properly on its own, the conflict caused by input or output
parameters inside two methods may result in the module collapsing. The module
must be tested in its entirety.
3.4
Android Architecture
The
application has included text, pictures and other guidance information about
the site so people can better understand the tourist attractions and can make
accurate decisions.
Modules
in Application
● Location of different sites
● Location of hotels
● Culture and values of the region
● Locate it on the map
● Display full information about the
sites
Fig.
3.1: Architecture of android based tour guide system
The
Fig. 3.1 demonstrates high level architecture of the application. First the
user must use an android based smart device in order to gain access to the app.
Then the web server provides the needed information about the attractions when
connected to the network and according to the selection by the user.
3.5
Life Cycle of Android Application
In
Android, an activity may exist in one of four states, as shown below:
In
Android, an activity may be used in one of four states, as described.
3.5.1
Active and Running state
In
this condition, the activity takes precedence and demonstrates concentration on
it. It is actively used and Observable in its entirety by its user.
3.5.2
Paused state
In
this stage, the programme is partially observable by the user, but it is not
visible to the user and is not focused on any particular task.
This
occurs when another activity is running that does not fill the whole screen or
has some clarity, causing the partially viewable activity to be obscured by the
other activity.
Fig.
3.2: Android Application Life Cycle reprinted from strawflower.com
a new
and innovative activity The activity that was stopped is completely alive and
continues to operate in its present condition, but it may be terminated using
the task manager, which provides the option to terminate all currently running
programmes.
3.5.3
Stopped state
When
the main screen is not visible, the activity is said to be in the paused
condition. It's impossible to tell what's going on from the perspective of
another activity. In this halted condition, the activity that is running in the
background and using resources such as memory and other resources may also be
stopped using the task manager, which provides the option to clean currently
active programmes.
3.5.4
Destroyed/Dead state
When
a running programme is no longer present in memory, this is referred to as the
dead/destroyed state. It is possible that the programme is not launched, or
that the application is started and then wiped from memory in order to save
memory resources.
3.6
Android Versions and Its latest comparison
The
various versions of the Android operating system are an essential component of
the system. These versions are constantly developing and adding new features
for consumers. As smartphone technology continues to develop and become more
capable of providing more services, the Android operating system, on the other
hand, continues to improve as well. The most recent use comparison may be seen
below.
Fig.
3.3: Android Versions and Its latest comparison (Picture Reprinted from
PhonDriod.com)
3.7
Project Contribution
Actual
contribution of this project is to provide a comprehensive knowledge and
realisation for a city guide on the Android operating system, which serves as a
new development platform for future development. There are many instances of
city guides available on various platforms, such as Windows Mobile, iPhone, and
others. There are no city guides available for swat, on the other hand. As a
city guide, this project encompassed fundamental features such as showing
Google maps, locating users' locations, obtaining information about tourist
attractions and basic information; displaying different routes by directions;
choosing off-line information about different facilities such as hospitals and
car rentals; keeping up with the latest weather conditions; keeping in touch on
social networking sites; and searching for nearby businesses and services This
project is divided into five major sections, which are as follows:
3.7.1
Direction
This
activity retrieves Google Maps and provides the user with the option to pick a
location and calculate distances between two points. This is accomplished via
the usage of Google's direction API. It also depicts the tourist's journey from
the point of origin to the point of goal by drawing lines. It also displays the
user's current position, which is determined using GPS data. It requires the
use of the Internet and GPS.
3.7.2
Locations
It is
an essential component of this programme since it displays locations in swat
such as hospitals, vehicle rentals, pharmacy, and a variety of other facilities.
The phone numbers, addresses, email addresses (if any are accessible), and
website addresses (if any are available) are shown, as illustrated .
3.7.3
Nearby Places
Google
has another significant API called the Google Locations API, which identifies
the current coordinates of tourists and displays nearby destinations based on
their position, as illustrated in figure 3.4. This API assists users in
locating nearby places by displaying nearby places based on their location.
Fig.
3.4: Shows multiple nearby places
3.7.5
Map Marker Information
This
option displays the map and allows you to modify markers to display the
information you need about a certain place. Figure 3.5 depicts a map with an
image and some text that explains a place on the map in short.
Fig.
3.5: Shows customize markers on map
3.8
Fundamentals of Application
This
component of the application illustrates the most important elements of
application development. It is divided into four sections. Services, receivers,
activities, and broadcasting are all included. An android application may have
one or more of the kinds of components listed above.
3.8.1
Activity
Activity
displays interfaces to users that they will use for communication purposes, for
example, in the brief messaging component, one activity displays the user
interface to users that they will use to write a short message to others.
Activities are completely written by extending the Activity main (base) class.
3.8.2
Services
In
addition, services do not operate in the background and the user interface does
not close. For example, suppose we have music playing in the background.
Service is an extension of the Service base class.
3.8.3
Broadcast Receivers
Receivers
for broadcast announcements This section receives and responds to broadcast
announcements. For example, if it indicates that the battery is low, it is
essential to provide this information to mobile users. The receivers are
subclasses of the basic class Broadcast Receiver.
3.9
Swat smart tourist guide Application Architecture: -
Smart
Tourist Guide is organised in accordance with the following architecture. It
all begins with a login screen that displays the user's name and profile image,
among other things. After logging in with your email address and password, a
menu will display, from which a user may choose from a variety of places such
as tourist attractions, archaeological sites, hospitals, and car workshops,
among others. The system checks for an Internet connection and then displays a
map of the area in question. It is shown in figures 3.6 and 3.7, respectively.
Fig.
3.6: Smart Tourist Guide Application login page
Fig.
3.7: Smart Tourist Guide Application Main Menu
3.10
Development of Software
The
development of software begins with the implementation of a software process.
The software model demonstrates how a software developer may create software
and which method is preferable when developing a certain software application,
among other things. The approach in this choice is known as the Rapid
Application Development (RAD) framework[42]. Main rationale for choosing this
model is because it places less focus on planning activities and more attention
on application development tasks than other models available. It is a model
with a lot of flexibility. Other models, such as the waterfall, are more rigid,
and it is essential to have a thorough strategy for the software development
process. This study was complete novices when it came to Android Software
Development, therefore the study was completely blank when it came to
developing this application. According to this approach, software prototypes
may be created and shown, then refined until the desired application objectives
are achieved.
3.11
Summary of Guide
In
addition to the activities themselves, the photographs and other information
illustrate the navigational and location-based services that were made
available to the user.The icons represent various connections to the
functionality of the swat smart tourist guide programme as represented by the
symbols. The first action provides the user with a primary menu from which they
may choose from a variety of options.When the other tasks are completed, the
listed capabilities will be listed on the location and coordinate basis that
the user wanted, and they will also be able to satisfy their guiding
requirements by providing the criteria that they requested. Tourists may access
a variety of types of information via the programme, including markers
information, images, maps, and text information, all from their cellphones.
Chapter
4
Results
and Conclusions
4.1
Analysis
Analysis
of several functions required in the application of the tour guide based on the
results of field studies, the minimum functions needed in this application
include:
1.
Users can get information about tourist sites, hotels, professional travel
guide man, police stations, mechanic workshops, taxi and medical emergency
services like rescue 1122, ambulance, first aid medical stores, hospitals in
swat city.
2.
Users can get access to tourist sites, hotels, professional travel guide man,
police stations, mechanic workshops, taxi and medical emergency services like
rescue 1122, ambulance, first aid medical stores, hospitals in swat city.
3.
Users can get tourist location information, hotels, professional travel guide
man, police stations, mechanic workshops, taxi and medical emergency services
like rescue 1122, ambulance, first aid medical stores, hospitals in swat city.
4.2.
Design
This
design phase includes Unified Modelling Language (UML) design, interface
design, and database design. Use case diagrams aim to explain the relationship
between the user and the system to be created, that is to explain about
everything the system will be created and its function. The use-case diagram
can provide an overview of all the uses of the system that include the system
will be used for everyone and what functions.
Fig
4.1 Use Case Diagram
Sequence
diagrams are used to describe the activity of objects in use case. Where any
messages sent and received on the object are described at this stage
Fig
4.2 Sequence Diagram
Fig
4.2.1 Sequence Diagram
The
following is the Class Diagram
Fig
4.2.2 Class Diagram
4.2.1
Database Design
All
Firebase Realtime Database data is stored as JSON objects. You can think of the
database as a cloud-hosted JSON tree. Unlike a SQL database, there are no
tables or records. When you add data to the JSON tree, it becomes a node in the
existing JSON structure with an associated key. You can provide your own keys,
such as user IDs or semantic names, or they can be provided for you using
push().
The
following is the child node of database reference
Fig
4.3 Firebase Database Structure
Each
child node have a sub child node
The
sub child node of the police station has the following
Fig
4.3.1 Database Child Node
each
sub child node contains the following key and values
Fig
4.3.2 Database Sub Child Node
4.3
Implementation
The
implementation of the application is done using Android studio, and also the
android studio as the application's framework. The Layout page display is
created in several XML files containing the respective content, among others
activity_details_for_ambulance.xml, activity_call_ambulance.xml,
activity_ambulance.xml, activity_details.xml,
activity_details_for_mechanic.xml, activity_details_for_first_aid.xml,
activity_details_for_hospitals.xml, activity_details_for_police_staion.xml,
activity_details_for_taxi.xml,activity_guide_man.xml,activity_main.xml,
activity_home.xml,activity_maps_activityfor_ambulance.xml,activity_maps_activityfor_hospitals.xml,activity_maps_activityfor_first_aid.xml,activity_maps_activityfor_mechanic.xml,activity_maps_activityfor_police_station.xml,activity_maps_activityfor_taxi.xml,activity_maps_direction.xml,activity_signup.xml,activity_police.xml,recent_rows_item.xml,singlerowformechanic.xml,
singlerowforquideman.xml, singlerowfortaxi.xml, top_places_rows_item.xml
Fig
4.4 Snippet of Application Layout
4.3.1
Main Menu
The
Main Menu is the first page that appears when a user login into the Smart
Tourist Guide App, and showing top places and Hotels in Swat. In the main menu,
there are several menus such as Booking Guide Man menu, Police Station menu,
Car Mechanic menu, Medical Emergency menu, Hotel menu, and Rent Cab Car menu.
● If the user enters the Booking Guide
Man menu, it will show available guide man.
● If the user chooses the Police Station
menu, it will perform the nearest location of the Police Station in Swat city.
● If the user chooses the Car Mechanic
menu, then the system will show the nearest mechanic in Swat City. If the user
chooses the Medical Emergency menu, then the system will display a list of
Emergency services in Swat City.
● if the user chooses the Medical
Emergency menu, then the system will display a list of Emergency services in
Swat City.
● if the user chooses the Rent Cab Car
menu, then the system will show the nearest Cab Car in Swat City.
● Logout menu to exit the app
Fig
4.5 Main Menu
4.3.2
Details Main Menu
● If the user clicks on a particular
archeological site, then the system will display detailed information such as
pictures, historic information, available professional guide men, and location
with navigation on map.
● If the user chooses the booking menu
for Archeological guides, then the system will display a list of professional
guides man in Swat City, along with guide man name, qualification, email, phone
number, age, and pricing range.
● If the user clicks on a particular
Hotel, then the system will display detailed information such as pictures,
price, phone numbers, and location with navigation on the map.
Fig
4.6 Details Main Menu
4.3.3
Police Station Menu
If
the user clicks on the Police Station menu then the system will display the
nearest Police Station in Swat City and display information about the police
station such as police station name, address, phone number, and location with
navigation on the map. And also the system will make a call to the police
station.
Fig
4.7 Police Station Menu
4.3.4
Mechanic Menu
If
the user clicks on the Car Mechanic menu then the system will display the
nearest Car Mechanic workshop in Swat City and display information about the
mechanic such as mechanic name, address, phone number, and location with navigation
on the map. And also the system will make a call to the mechanic workshop.
Fig
4.8 Mechanic Menu
4.3.5
Medical Emergency Menu
If
the user clicks on the Medical Emergency menu, then the system will display a
list of Emergency services in Swat City such as the call to Rescue 1122, call
to an ambulance, find nearest First Aid and Medical Stores and Find nearest
hospitals.
Fig
4.9 Medical Emergency Menu
4.3.6
Call To Rescue 1122 Menu
If
the user clicks on the Call to Rescue 1122 menu then the system will make a
call to Rescue 1122
Fig
4.10 Call To Rescue 1122 Menu
4.3.7
Call To Ambulance Menu
If
the user clicks on the Call to Ambulance menu then the system will send a
message along with the patient condition and patient current location
coordinates.
Fig
4.11 Call To Ambulance Menu
4.3.8
First Aid And Medical Stores Menu
If
the user clicks on the First Aid and medical stores menu then the system will
display the nearest medical stores in Swat City on the map and display
information about medical stores such as store name, address, phone number, and
location with navigation on the map.
Fig
4.12 First Aid And Medical Stores Menu
4.3.9
Nearest Hospitals Menu
If
the user clicks on the Nearest Hospitals menu then the system will display the
nearest Hospitals in Swat City on the map and display information about
Hospitals such as Hospitals name, address, phone number, and location with
navigation on the map.
Fig
4.13 Nearest Hospitals Menu
4.3.10
Cab Car Menu
If
the user clicks on the Cab Car menu then the system will display the nearest
available Cab Car in Swat City on the map and display information about Cab Car
Drivers such as Driver's name, profile picture, phone number, age, pricing
range, and driver's location with navigation on maps.
Fig
4.14 Cab Car Menu
4.3.11
Ambulance Admin Menu
Ambulance
Admin is another app where the ambulance company receives a request from the
patient.
Fig
4.15 Ambulance Admin Menu
4.4
Conclusion
An
essential tool for visitors, the smart tourist guide application is a
must-have. The majority of conventional techniques are time-consuming and
require the use of trained human resources, who are responsible for guiding
tourists around the field. The primary goal of the proposed project is to
ensure that tourists save time while also receiving appropriate advice and
instructions from the project team.
The
tourist guide system offers an easy-to-use menu from which users may choose
various buttons based on their preferences and requirements. It is up to the
user to choose the appropriate routes, places, lengths, and other choices for
their requirements. Users may access these services via the internet, Global
Positioning Systems (GPS), and Google maps, among other methods. The Google
maps are interactive, allowing the user to quickly find the locations, and the
map will create a line to indicate the correct direction if necessary. These
lines will assist you in reaching your destination.
This
tourist guide makes use of the most recent maps, which may show places based on
the latitude and longitude information supplied by users.
Chapter
5
Future
Work
5.1
Adding Google Street view
In
contrast to the suggested system, which displays photos and images of a
location,this study displays three-dimensional views of the area by using the
Google Street view map API. It makes it possible for the user to view the place
from any aspect possible. Which is unquestionably beneficial in making any
choice about that place as well as having a clear visual representation of the
location.
5.2
Offline version
It is
possible that the suggested system will be turned into an off-line version in
future. If such is the case, this guide will be more useful to tourists who do
not have access to a computer or the Internet. Making it unavailable will
improve its storage capacity, but it may be compromised since tourists may get
more advantages as a result.
In the
hopes of aiding other students and developers in their understanding of Android
programming, the Java programming language, and XML,. They will utilise Android
application development in their study, and they will continue to use it and
improve it in future research by finding new research subjects in these areas.
References
[1]
Shaikh,
Hina, and Nazish Afraz. “Pakistan is uniquely placed to take advantage of
religious tourism. What is stopping us?” 17 oct 2019,
https://www.dawn.com/news/1479801. Accessed 1 june 2021.
[2]
Gao,
Qian. “Challenges in Archaeological Tourism in China.” International Journal of
Historical Archaeology, vol. 20,
no. 2, Springer, 2016, pp. 422–36, http://www.jstor.org/stable/26174266.
[3]
The
Nation. “Preservation of Archaeological Sites Promotes Tourism.” The Nation, 5
Dec. 2016,
nation.com.pk/05-Dec-2016/preservation-of-archaeological-sites-promotes-tourism.
Accessed 31 Oct. 2021.
[4]
Pawar,
Lalita R., and Sarvesh S P1033159412. Problems & Suggestions for Android
City Tour Guide System Based on Web Services for Mumbai. 6 June 2015,
ijarcet.org/wp-content/uploads/IJARCET-VOL-4-ISSUE-6-2668-2672.pdf. Accessed 31
Oct. 2021.
[5]
Knowles,
Heather, and Morgan Westcott. “Chapter 7. Travel Services – Introduction to
Tourism and Hospitality in BC.” Opentextbc.ca, 2014,
opentextbc.ca/introtourism/chapter/chapter-7-travel-services/.
[6]
Akbar,
Jalaluddin, et al. “Role of Facilities Available and Un-Available in Attracting
of Tourist in Swat Valley Pakistan.” Journal of Landscape Ecology, vol. 10, no.
1, 1 Jan. 2017, pp. 5–19, sciendo.com/pdf/10.1515/jlecol-2017-0006,
10.1515/jlecol-2017-0006. Accessed 31 Oct. 2021.
[7]
Anonymus,
(2002, March). Analysis tourism management in Pakistan chapter 5 Establishment
& Administration Department, NWFP. Retrieved on March 6, 2002 from ULR:
prr.hec.gov.pk/chapters/7s-5.pdf.
[8]
HistoryPak.
“Swat Valley.” History Pak, 5 Aug. 2014, historypak.com/swat-valley/.
[9]
Behrendt,
Kurt. “Gandhara.” Metmuseum.org, Department of Asian Art, The Metropolitan
Museum of Art, 1 Apr. 2012, www.metmuseum.org/toah/hd/gand/hd_gand.htm.
[10]
Behrendt,
Kurt. “Gandhara.” In Heilbrunn Timeline of Art History. New York: The
Metropolitan Museum of Art, 2000–.
http://www.metmuseum.org/toah/hd/gand/hd_gand.htm
[11]
Olivieri,
Luca M., et al. “Archaeology and Settlement History in a Test Area of the Swat
Valley: Preliminary Report on the AMSV Project (1st Phase).” East and West,
vol. 56, no. 1/3, Istituto Italiano per l’Africa e l’Oriente (IsIAO), 2006, pp.
73–150, http://www.jstor.org/stable/29757683.
[12]
Hussainpur,
Ijlal. “Italian Connection | Footloose | Thenews.com.pk.” Www.thenews.com.pk,
29 June 2014, www.thenews.com.pk/tns/detail/556558-italian-connection-to-excavate-buddhist-monuments-swat.
Accessed 31 Oct. 2021.
[13]
Android.
“Application Fundamentals | Android Developers.” Android Developers,
2019, developer.android.com/guide/components/fundamentals.
[14]
Ray,
P.P. “A Survey on Internet of Things Architectures.” Journal of King Saud
University - Computer and Information Sciences, vol. 30, no. 3, July 2018, pp.
291–319, www.sciencedirect.com/science/article/pii/S1319157816300799,
10.1016/j.jksuci.2016.10.003.
[15]
sabilla,
Jovie. “Location-Based Services in Android - Time to Locate Our Device
Accurately.” DataFlair, 25 Feb. 2020,
data-flair.training/blogs/location-based-services-in-android/. Accessed 1 Nov.
2021.
[16]
Ahmed,
Omar, and Amira Sallow. “Android Security: A Review.” Academic Journal of
Nawroz University, vol. 6, no. 3, 2017, pp. 135–140,
www.researchgate.net/publication/319365702_Android_Security_A_Review,
10.25007/ajnu.v6n3a97.
[17]
wmo.
GUIDE on the APPLICATION of NEW TECHNOLOGY and RESEARCH to PUBLIC WEATHER
SERVICES.
[18]
Buhalis,
Dimitrios, and Rob Law. “Progress in Information Technology and Tourism
Management: 20 Years on and 10 Years after the Internet—the State of ETourism
Research.” Tourism Management, vol. 29, no. 4, Aug. 2008, pp. 609–623,
www.sciencedirect.com/science/article/pii/S0261517708000162,
10.1016/j.tourman.2008.01.005.
[19]
Islamabad
City App. “National Information Technology Board.” Nitb.gov.pk,
nitb.gov.pk/ProjectDetail/MTg4ODVhNTEtMzIwMC00OGZiLThhYTUtMmQ2NWQ5OWNkNTQw.
Accessed 1 Nov. 2021.
[20]
beonroad.com.
“Be-On-Road FREE Offline GPS Navigation App for Android and IPhone.”
Www.beonroad.com, www.beonroad.com/. Accessed 1 Nov. 2021.
[21]
developer.here.
“Guide - HERE SDK for Android (Premium Edition).” HERE Developer,
developer.here.com/documentation/android-premium/3.18/dev_guide/topics/map-guidance.html.
Accessed 1 Nov. 2021.
[22]
Android.
“Get the Last Known Location.” Android Developers,
developer.android.com/training/location/retrieve-current.
[23]
sourceforge.
“Best Forestry Software in the UK - 2021 Reviews & Comparison.”
Sourceforge.net, sourceforge.net/software/forestry/uk/. Accessed 1 Nov. 2021.
[24]
Microsoft.
“Get GPS Route Finder : Maps Navigation and Directions.” Microsoft Store,
www.microsoft.com/en-us/p/gps-route-finder-maps-navigation-and-directions/9nfjnr81p34f.
[25]
Android.
“Google Maps Platform | Google Developers.” Google Developers, 2019,
developers.google.com/maps/documentation.
[26]
Firebase.
“Documentation | Firebase.” Firebase, 2019,
firebase.google.com/docs.
[27]
Android.
“Location | Android Developers.” Android Developers,
2019, developer.android.com/reference/android/location/Location.
[28]
Brown,
Tracy, et al. The Author(S) Shown below Used Federal Funds Provided by the U.S.
Department of Justice and Prepared the Following Final Report: Document Title:
Global Positioning System (GPS) Technology for Community Supervision: Lessons
Learned. 2007.
[29]
Kim,
Deok-In, et al. “A Study on the Application of UAV for Korean Land Monitoring.”
Journal of the Korean Society of Surveying, Geodesy, Photogrammetry and
Cartography, vol. 32, no. 1, 2014, pp. 29–38,
www.koreascience.or.kr/article/JAKO201409150678368.page,
10.7848/ksgpc.2014.32.1.29. Accessed 1 Nov. 2021.


