hanoi tourist map on android student : nguyễn xuân nam supervisor : dr. vũ tuyết trinh 1 hanoi...

Post on 25-Dec-2015

217 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Hanoi Tourist Map on Android

Student : Nguyễn Xuân NamSupervisor : Dr. Vũ Tuyết Trinh

1

HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGYProgramme de Formation d'Ingénieurs d'Excellence au Vietnam

CONTENTS

INTRODUCTION1

ANALYSIS AND DESIGN2

INSTALLATION3

CONCLUSION4

2

INTRODUCTION

Software market on mobile phones are growing and becoming more attractive.

Hanoi is a large regional tourism of Vietnam.

A tourist map on mobile will help tourists and residents convenience in traveling and sightseeing.

3

OBJECTIVE

++ +

4

Building an application GIS on mobile : Hanoi tourist map Functions of digital map Function Search Tourist Information

PLATFORM

Android is Google's operating system for mobile devices.

Android supports : Touchscreen 3G, WiFi Browser based on WebKit MPEG-4, H.264, MP3, AAC 3D graphics accelerator

5

MAP

Street

POI

6

DIGITAL MAP

7

GRAPHIC

DIGITAL MAP

DATA

Basic Features View map Search Place Search the shortest path

USE CASE DIAGRAMuc Use Case 1

User

Search Tourist InformationSearch

Geographic

Search Shortest Way

Search Place

Search Event

Search Hotel

Search Restaurant

View Map

Suggestion

View Location Detail «extend»

8

SYSTEM ARCHITECTURE

Interface Layer

Data Layer

Processing Layer

3G, Wi-fi

Application on Client

9

INTERFACE LAYER

10

class Class Model 1

MapScreen

+ onCreate() : void+ onStop() : void+ onDestroy() : void+ searchShortestWay(WgsPoint, WgsPoint) : Line+ searchPlace(String) : void+ viewLocationDetail(int) : void+ getCurrentPosition() : WgsPoint+ getLocationNereHere(WgsPoint) : void+ displayLocation(Location) : Place+ searchHotel() : void+ searchRestaurant() : void+ searchEvent() : void+ showInputBox() : void+ displayResult() : void

SearchLocationScreen

+ onCreate() : void+ onDestroy() : void+ onStop() : void+ getListSelected() : void+ getSearchParameter() : void

SearchEventScreen

SearchHotelScreen SearchRestaurantScreen

ListLocationScreen

HelpScreen

LocationDetailScreen

TouristData

+ onCreate() : void+ onUpgrade() : void+ getLocationById(int) : Location+ getLocationByName(String) : Location+ getLocationByType(int) : ArrayList<Location>+ getLocationNearHere(WgsPoint) : ArrayList<Location>+ searchLocation(String) : ArrayList<Location>+ searchHotel(String, String, double, double) : void+ searchRestaurant(String, String, double, double) : void+ searchEvent(String, Date, Date, double, double) : void

MapData

+ addLines(Line []) : void+ addPlaces(Place []) : void+ removeLines(Line []) : void+ removePlaces(Place []) : void+ moveMap(WgsPoint) : void+ zoomOut() : void+ zoomIn() : void+ setMap(GeoMap) : void+ startMapping() : void+ stopMapping() : void+ focusOnPlace(Place) : void+ refresh() : void+ displayLocation() : void+ searchPlace(String) : Place+ searchShortestWay(WgsPoint, WgsPoint) : Line

WgsPoint

- latitude: double- longitude: double

Line

- listWgsPoint: WgsPoint []

Place

- _id: int- label: String- icon: Image- longitude: double- latitude: Double

Location

- _id: int- name: String- presentation: String- address: String- telephone: String- website: String- longitude: double- latitude: double- type_id: int

CLASS DIAGRAM

Processing Layer

Data Layer

11

SEQUENCE DIAGRAM - SEARCH PLACE

12

sd Search Place

User MapDataMapScreen Place

Select Search Place

Enter name

showInputBox()

searchPlace()

Place()

addPlaces()

result()

displayResult()

SEQUENCE DIAGRAM - SEARCH HOTELsd Search Hotel

User PlaceTouristDataSearchHotelScreen MapDataMapScreen

Select Search Hotel from Menu

enter Keyword, numberstar, fromPrice, toPrice

Select Hotel(s) from List

onCreate()

show()

searchHotel()

result()

show()

getListSelected()

onActivityResult()

displayLocation()

Place()

addPlaces()

result()

displayResult()

13

DATABASE

14

INSTALLATION

Language : Java Tools :

Eclipse IDE + ADT Plugin Android SDK SQLite Nutiteq Map Library 1.02

15

INTERFACE

16

SEARCH PLACE

17

SEARCH SHORTEST PATH

18

SEARCH TOURIST INFORMATION

19

SUGGESTION

20

RESULTS

THEORY Android platform and programation on Android

PRODUCT Functions of digital map Function Search tourist information Interface vietnamese

21

DEVELOPMENT

1

Improve Hanoi's map data

2

Combined with tourist information portal

3

More languages

22

23

top related