nokia asha webinar: developing location-based services for nokia asha phones by using geo2tag
DESCRIPTION
With the open source Geo2tag platform, developers can use JSON or XML to manage location references in apps for Nokia Asha phones. In this webinar, we’ll show you how to use the Geo2tag API and how to manage a local database of georeferences. We’ll start with an overview of the RESTful Geo2tag API and explain how to use the API in apps for Nokia Asha phones. Then we’ll demonstrate a few location-based applications developed on top of Geo2tag and show how to integrate Geo2tag reference feeds with map widgets. Find out more about: * the Geo2Tag project and code: www.geo2tag.org * the Nokia Asha SDK: http://developer.nokia.com/Develop/asha/java/tools.xhtml * getting started with the Nokia IDE: http://developer.nokia.com/Develop/asha/java/start/nokia_ide/ * getting started with the NetBeans: http://developer.nokia.com/Develop/asha/java/start/netbeans/ * all the new APIs in Nokia Asha software platform 1.1: http://developer.nokia.com/Resources/Library/Java/#!whats-new/java-runtime-for-nokia-asha-software-platform-110.html Check out the current webinar schedule here: http://www.developer.nokia.com/webinars and https://developer.nokia.com/Develop/asha/learning/TRANSCRIPT
![Page 2: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/2.jpg)
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: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/3.jpg)
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
![Page 4: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/4.jpg)
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 5: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/5.jpg)
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
![Page 6: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/6.jpg)
Geo2Tag LBS Platform installation
http://download.geo2tag.org/
![Page 7: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/7.jpg)
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
![Page 8: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/8.jpg)
Getting HERE keys
![Page 9: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/9.jpg)
com.nokia.maps.map.MapCanvas
This class offers an abstract base class for providing a method of showing map content on a Canvas
![Page 10: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/10.jpg)
Obtaining coordinates
![Page 11: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/11.jpg)
Example layout
Map widget implementation
Implementation of Geo2Tag requests
Getting coordinates on device
![Page 12: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/12.jpg)
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)
![Page 13: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/13.jpg)
Map widget
Basic map widget
Supports gestures
![Page 14: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/14.jpg)
Authentication
![Page 15: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/15.jpg)
InfoBubble
![Page 16: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/16.jpg)
FocalObserver and centering
![Page 17: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/17.jpg)
Centering and add commands
![Page 18: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/18.jpg)
ClearMap command
![Page 19: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/19.jpg)
Show nearest tags
![Page 20: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/20.jpg)
Geo2Tag requests
doLoginRequest
doSetDbRequest
doFilterCircleRequest
doWriteTag
![Page 21: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/21.jpg)
.doLoginRequest
![Page 22: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/22.jpg)
.doSetDbRequest
![Page 23: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/23.jpg)
.doFilterCircleRequest
![Page 24: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/24.jpg)
.doWriteTagRequest
![Page 25: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/25.jpg)
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 26: Nokia Asha webinar: Developing location-based services for Nokia Asha phones by using Geo2tag](https://reader031.vdocuments.mx/reader031/viewer/2022013121/554e0451b4c90597278b4dea/html5/thumbnails/26.jpg)
Thank you.
Questions?
For more information:
● http://geo2tag.org● http://fruct.org