ANDROID NAVIGATION SYSTEM by WAEL AZHARI ALSIR AHMED INDEX NO. 084086
Total Page:16
File Type:pdf, Size:1020Kb
DICLARATION OF ORIGINALITY ANDROID NAVIGATION SYSTEM By WAEL AZHARI ALSIR AHMED INDEX NO. 084086 Supervisor Dr. Ghassan Mohammed Taha A thesis submitted in partial fulfillment for the degree of B.Sc. (HON) To the Department of Electrical and Electronic Engineering (CONTROL ENGINEERING) Faculty of Engineering University of Khartoum July 2013 DICLARATION OF ORIGINALITY DICLARATION OF ORIGINALITY I declare that this report entitled “Android Navigation System” is my own work except as cited in the references. The report has not been accepted for any degree and is not being submitted concurrently in candidature for any degree or other award. Signature : _________________________ Name : _________________________ Date : _________________________ ABSTRACT ABSTRACT Android navigation system is application that uses smart phone based on android operating system to figure out the position and direction of the user in any place on the top of earth , This project aims to enable people to have an application that detect their position on a map and this by developing a navigator program . This navigator communicates with the server to get the map desired . the navigator have many functions like loading a map for online navigation mode , also for offline navigation mode , provide a compass to show the user's direction and Track the user location even if online or offline . The project's aims has been done successfully and the navigator was designed and implemented. The navigator was tested well and the results were good, the detecting of the position and tracking tested well , some limitations were discovered solved well. المستخلص المستخلص َظاو انًﻻدت انشٔبٕث ْٕ حطبٍق ٌسخخذو انٓاحف انزكً انؼًخًذ ػهى َظاو انخشغٍم أَذسٌٔذ نؼًشفت يٕقغ ٔاحجاِ انًسخخذو فً أي يكاٌ ػهى سطخ اﻷسض . ٌٔٓذف ْزا انًششٔع إنى حًكٍٍ انُاس يٍ ٌكٌٕ نذٌٓا حطبٍق ٌكشف ػٍ يٕقؼٓى ػهى انخشٌطت ٔرنك ػٍ غشٌق ٔظغ بشَايج انًسخكشف .ْزا انًﻻح ٌخصم يغ خادو نهذصٕل ػهى انخشٌطت انًشجٕة .َظاو انًﻻدت نّ ٔظائف كثٍشة يثم حذًٍم انخشٌطت ٔ انذصٕل ػهى ٔظغ انًﻻدت ػهى اﻹَخشَج , أٌعا نٕظغ انًﻻدت غٍش يخصم باﻻَخشَج ٔ حٕفٍش بٕصهت ﻹظٓاس احجاِ انًسخخذو ٔحخبغ انًٕقغ انجغشافً نهًسخخذو دخى نٕ كاٌ ػهى احصال باﻻَخشَج أٔ غٍش يخصم. ٔقذ حى حُفٍز اْاف انًششٔع بُجاح، حى اخخباس انًﻻح جٍذا ٔكاَج انُخائج جٍذة، ٔقذ حى حذذٌذ انًٕاقغ باسخخذايّ، ٔحخبغ اخخباسِ بشكم جٍذ، حى اكخشاف بؼط انقٍٕد ٔنكٍ دهج بشكم جٍذ . ACKNOWLEDGEMENT ACKNOWLEDGEMENT Unlimited praise for Allah as the number of his creatures, the gratification of himself, the weight of his throne, and the extension of his words. I would like to present my gratitude and thanks to our supervisor Dr. Ghassan for his unlimited support, motivation, patience. Finally thanks for my father, mother and sisters ,to my aunt and my uncle and my cousins who encouraged me and supported me all the time, and to all my parent for supporting me . DEDICATION DEDICATION Of course to my Uncle... TABLE OF CONTENTS TABLE OF CONTENTS TITLE DICLARATION OF ORIGINALITY ............................................................................................ 2 ABSTRACT .................................................................................................................................... 3 4 ............................................................................................................................................ المستخلص ACKNOWLEDGEMENT .............................................................................................................. 5 DEDICATION ................................................................................................................................ 6 TABLE OF CONTENTS ................................................................................................................ 7 LIST OF TABLS .......................................................................................................................... 10 LIST OF ABBREVIATIONS AND TERMINOLOGIES ............................................................ 11 CHAPTER 1 INTRODUCTION .................................................................................................. 12 1.1 Introduction .................................................................................................................... 12 1.2 Project Background ........................................................................................................ 12 1.3 Problem statement .......................................................................................................... 13 1.4 Motivation ...................................................................................................................... 13 1.5 Project Scope .................................................................................................................. 14 1.6 Thesis layout .................................................................................................................. 14 2 CHAPTER 2 LITREATURE REVIEW ............................................................................... 16 2.1 A smartphone ................................................................................................................. 16 2.2 Android........................................................................................................................... 16 2.3 Applications ................................................................................................................... 17 2.4 History of navigation ...................................................................................................... 18 2.4.1 Types of navigation systems ................................................................................... 18 2.4.2 Uses ......................................................................................................................... 19 2.5 Mobile phones with GPS capability ............................................................................... 20 2.6 Source maps ................................................................................................................... 20 2.6.1 Google Maps ........................................................................................................... 20 2.6.2 Open Street Map (OSM) ......................................................................................... 21 2.6.3 Bing Map ................................................................................................................ 22 2.7 Mobile phone tracking ................................................................................................... 23 TABLE OF CONTENTS 2.8 Advantages and Limitation of Map Sources .................................................................. 24 2.8.1 Google Maps: .......................................................................................................... 24 2.8.2 OpenStreetMap ....................................................................................................... 25 3 CHAPTER 3 DESIGN ......................................................................................................... 27 3.1 Overview: ....................................................................................................................... 27 3.2 Design Processes: ........................................................................................................... 27 3.2.1 Identify Requirements (API): ................................................................................. 27 3.2.2 Determine Development Tools: .............................................................................. 28 Determine Development Technique: ..................................................................................... 29 3.3 Application Design:........................................................................................................ 29 3.3.1 High-Level Functionalities: .................................................................................... 29 3.3.3 Detailed Level Functionalities ................................................................................ 33 3.3 Development Phase Difficulties: .................................................................................... 39 4 CHAPTER 4 TESTING ........................................................................................................ 41 4.1 Overview ........................................................................................................................ 41 4.2 System testing results ..................................................................................................... 41 4.2.1 Test opening the application ................................................................................... 41 4.2.2 Test Zoom in and out .............................................................................................. 42 4.2.3 Test user current location bar button ...................................................................... 43 4.2.4 Test lock the map bar button ................................................................................... 44 4.2.5 Test Set Start, Destination and Via point ................................................................ 44 4.2.6 Test My Location .................................................................................................... 45 4.2.7 Test Get Direction ................................................................................................... 46 4.2.8 Test Search .............................................................................................................