Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag
-
Upload
microsoft-mobile-developer -
Category
Technology
-
view
17.213 -
download
2
description
Transcript of Nokia Asha webinar: Developing location-based services for Nokia Asha phones by 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)
Geo2Tag terminology
Tag: tuple <t, L, B, H, data>,● t – time● B,L,H – coordinates● data – text data ~1K
Channel: classifier for group of tags
Geo2Tag: channels and tagsLBS Platform
Канал
Channel
Channel
Channel
Channel
Tag- time- coordinates- data (link)
Filtration- time- radius- figure (2D or 3D)
Tag
Tag
Tag
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
Geo2Tag LBS Platform installation
http://download.geo2tag.org/
Geo2Tag preparation
● Install your own server http://download.geo2tag.org● Free test instance:
– Ask for creating service [email protected]
– Register users http://194.85.173.9:20005/register.php?db_name=dbname
Getting HERE keys
com.nokia.maps.map.MapCanvas
This class offers an abstract base class for providing a method of showing map content on a Canvas
Obtaining coordinates
Example layout
Map widget implementation
Implementation of Geo2Tag requests
Getting coordinates on device
Libraries
Nokia HERE (./plugins/maps_api/lib)– maps-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)
Map widget
Basic map widget
Supports gestures
Authentication
InfoBubble
FocalObserver and centering
Centering and add commands
ClearMap command
Show nearest tags
Geo2Tag requests
doLoginRequest
doSetDbRequest
doFilterCircleRequest
doWriteTag
.doLoginRequest
.doSetDbRequest
.doFilterCircleRequest
.doWriteTagRequest
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/
Thank you.
Questions?
For more information:
● http://geo2tag.org● http://fruct.org