23
Hanoi Tourist Map on Android Student : Nguyễn Xuân Nam Supervisor : Dr. Vũ Tuyết Trinh 1 HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGY Programme de Formation d'Ingénieurs d'Excellence au Vietnam

Hanoi Tourist Map on Android

  • Upload
    nevaeh

  • View
    62

  • Download
    0

Embed Size (px)

DESCRIPTION

HANOI UNIVERSITY OF SCIENCE AND TECHNOLOGY Programme de Formation d'Ingénieurs d'Excellence au Vietnam. Hanoi Tourist Map on Android. Student : Nguyễn Xuân Nam Supervisor : Dr. Vũ Tuyết Trinh. CONTENTS. INTRODUCTION. 1. ANALYSIS AND DESIGN. 2. INSTALLATION. 3. CONCLUSION. 4. - PowerPoint PPT Presentation

Citation preview

Page 1: Hanoi Tourist Map on Android

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

Page 2: Hanoi Tourist Map on Android

CONTENTS

INTRODUCTION1

ANALYSIS AND DESIGN2

INSTALLATION3

CONCLUSION4

2

Page 3: Hanoi Tourist Map on Android

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

Page 4: Hanoi Tourist Map on Android

OBJECTIVE

++ +

4

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

Page 5: Hanoi Tourist Map on Android

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

Page 6: Hanoi Tourist Map on Android

MAP

Street

POI

6

Page 7: Hanoi Tourist Map on Android

DIGITAL MAP

7

GRAPHIC

DIGITAL MAP

DATA

Basic Features View map Search Place Search the shortest path

Page 8: Hanoi Tourist Map on Android

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

Page 9: Hanoi Tourist Map on Android

SYSTEM ARCHITECTURE

Interface Layer

Data Layer

Processing Layer

3G, Wi-fi

Application on Client

9

Page 10: Hanoi Tourist Map on Android

INTERFACE LAYER

10

Page 11: Hanoi Tourist Map on Android

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

Page 12: Hanoi Tourist Map on Android

SEQUENCE DIAGRAM - SEARCH PLACE

12

sd Search Place

User MapDataMapScreen Place

Select Search Place

Enter name

showInputBox()

searchPlace()

Place()

addPlaces()

result()

displayResult()

Page 13: Hanoi Tourist Map on Android

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()

onActivi tyResult()

displayLocation()

Place()

addPlaces()

result()

displayResult()

13

Page 14: Hanoi Tourist Map on Android

DATABASE

14

Page 15: Hanoi Tourist Map on Android

INSTALLATION

Language : Java Tools :

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

15

Page 16: Hanoi Tourist Map on Android

INTERFACE

16

Page 17: Hanoi Tourist Map on Android

SEARCH PLACE

17

Page 18: Hanoi Tourist Map on Android

SEARCH SHORTEST PATH

18

Page 19: Hanoi Tourist Map on Android

SEARCH TOURIST INFORMATION

19

Page 20: Hanoi Tourist Map on Android

SUGGESTION

20

Page 21: Hanoi Tourist Map on Android

RESULTS

THEORY Android platform and programation on Android

PRODUCT Functions of digital map Function Search tourist information Interface vietnamese

21

Page 22: Hanoi Tourist Map on Android

DEVELOPMENT

1

Improve Hanoi's map data

2

Combined with tourist information portal

3

More languages

22

Page 23: Hanoi Tourist Map on Android

23