Download - Location based services for Nokia X and Nokia Asha using Geo2tag

Transcript
Page 1: Location based services for Nokia X and Nokia Asha using Geo2tag

LBS for Nokia X and Asha using Geo2tag

Kirill KrinkinFRUCT

[email protected]

Page 2: Location based services for Nokia X and Nokia Asha using Geo2tag

What is Geo2Tag

● Geo-tagging (geo-coding) platform● High performance database for spacial/temporal tag filtration● RESTful service

Geo2Tag does not provide:– map services

– data back-end (in current version)

Page 3: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag sites

Page 4: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag terminologyTag: tuple <t, L, B, H, data>,

● t – time● Coordinates (elliptic)

● b: latitude● l: longitude● h: altitude

● data – text data ~1K

Channel: classifier for group of tags

Page 5: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag: channels and tagsLBS Platform

Канал

Channel

Channel

Channel

Channel

Tag- time- coordinates- data (link)

Filtration- time- radius- figure (2D or 3D)

Tag

Tag

Tag

Page 6: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag architecture

Que

ry e

ngin

e

Session manager

HP database

BLOBs

cache

Indexer

Cluster/cloudinfrastructure

backend *)

clients

Libraries: jgeo, http_reqs

Session cache

web

Asha

web

Qt-based

Android

JSON

System cache

*) alpha version is available

Page 7: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag LBS Platform installation

Page 8: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag preparation

● Install your own server http://download.geo2tag.org● or use free test instance:

– Ask for creating service [email protected]

– Register users http://194.85.173.9:20005/register.php?db_name=dbname

Page 9: Location based services for Nokia X and Nokia Asha using Geo2tag

Getting HERE keys

Page 10: Location based services for Nokia X and Nokia Asha using Geo2tag

com.nokia.maps.map.MapCanvas

This class offers an abstract base class for providing a method of showing map content on a Canvas

Page 11: Location based services for Nokia X and Nokia Asha using Geo2tag

Obtaining coordinates

Page 12: Location based services for Nokia X and Nokia Asha using Geo2tag

Example layout

Map widget implementation

Implementation of Geo2Tag requests

Getting coordinates on device

Page 13: Location based services for Nokia X and Nokia Asha using Geo2tag

Libraries

Nokia HERE (./plugins/maps_api/lib)– qmaps-core.jar

– maps-components.jar – Infobubles, Touchable buttons and so on

– maps-gesture.jar – Add Gesture API support

– maps-kml.jar – JSR#172 is required for KLM data

– places.jar – Geocoding and reverse geocoding

– routing.jar – Routing services

Geo2Tag For Asha:– j2megeo.jar (sources: https://github.com/geo2tag/jgeo2me)

Page 14: Location based services for Nokia X and Nokia Asha using Geo2tag

Map widget

Basic map widget

Supports gestures

Page 15: Location based services for Nokia X and Nokia Asha using Geo2tag

Authentication

Page 16: Location based services for Nokia X and Nokia Asha using Geo2tag

InfoBubble

Page 17: Location based services for Nokia X and Nokia Asha using Geo2tag

FocalObserver and centering

Page 18: Location based services for Nokia X and Nokia Asha using Geo2tag

Centering and add commands

Page 19: Location based services for Nokia X and Nokia Asha using Geo2tag

ClearMap command

Page 20: Location based services for Nokia X and Nokia Asha using Geo2tag

Show nearest tags

Page 21: Location based services for Nokia X and Nokia Asha using Geo2tag

Geo2Tag requests

doLoginRequest

doSetDbRequest

doFilterCircleRequest

doWriteTag

Page 22: Location based services for Nokia X and Nokia Asha using Geo2tag

.doLoginRequest

Page 23: Location based services for Nokia X and Nokia Asha using Geo2tag

.doSetDbRequest

Page 24: Location based services for Nokia X and Nokia Asha using Geo2tag

.doFilterCircleRequest

Page 25: Location based services for Nokia X and Nokia Asha using Geo2tag

.doWriteTagRequest

Page 26: Location based services for Nokia X and Nokia Asha using Geo2tag

Your application’s target audience is on the move, not in a comfy chair.

© Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber

Page 27: Location based services for Nokia X and Nokia Asha using Geo2tag

Your application will be used with thumbs only.

© Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber

Page 28: Location based services for Nokia X and Nokia Asha using Geo2tag

Allow privacy.

© Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber

Page 29: Location based services for Nokia X and Nokia Asha using Geo2tag

Consider lists instead of maps.

© Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber

1 2 3

Page 30: Location based services for Nokia X and Nokia Asha using Geo2tag

Merge items on a map instead of stacking them.

© Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber

1 2 3 4

Page 31: Location based services for Nokia X and Nokia Asha using Geo2tag

Use a map thumbnail in a view that contains non-map items.

© Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber

1 2

Page 32: Location based services for Nokia X and Nokia Asha using Geo2tag

Resources

● Example: https://github.com/geo2tag/asha-map-example

● Map Forms in JavaME http://alturl.com/t99du

● Determining Current Location via Cell ID http://alturl.com/3pvxn

● Geo2Tag development resources:

– https://github.com/geo2tag

– http://geo2tag.atlassian.net/

– http://download.geo2tag.org/

Page 33: Location based services for Nokia X and Nokia Asha using Geo2tag

Thank you.

Questions?

For more information:

● http://geo2tag.org● http://fruct.org