Location based services for Nokia X and Nokia Asha using Geo2tag

11,645 views

Published on

With the open source Geo2tag platform, developers can use JSON or XML to manage location references in apps for Nokia X and Nokia Asha phones. In this webinar, we’ll show how to use the Geo2tag API and how to manage a local database of georeferences. We’ll begin the training by introducing the fundamentals of Location Based Services and the REST API of Geo2Tag LBS Platform (www.geo2tag.org). We’ll focus on networking, JSON and web services. Then we will demonstrate several applications developed on top of Geo2Tagand share the newest enhancements to the platform. We’ll end the training with a discussion of integrating Geo2Tag and third-party map widgets.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
11,645
On SlideShare
0
From Embeds
0
Number of Embeds
9,911
Actions
Shares
0
Downloads
60
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Location based services for Nokia X and Nokia Asha using Geo2tag

  1. 1. LBS for Nokia X and Asha using Geo2tag Kirill Krinkin FRUCT kirill.krinkin@fruct.org
  2. 2. 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)
  3. 3. Geo2Tag sites
  4. 4. Geo2Tag terminology Tag: 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
  5. 5. Geo2Tag: channels and tags LBS Platform Канал Channel Channel Channel Channel Tag - time - coordinates - data (link) Filtration - time - radius - figure (2D or 3D) Tag Tag Tag
  6. 6. Geo2Tag architecture Queryengine Session manager HP database BLOBs cache Indexer Cluster/cloud infrastructure backend *) clients Libraries: jgeo, http_reqs Session cache web Asha web Qt-based Android JSON System cache *) alpha version is available
  7. 7. Geo2Tag LBS Platform installation
  8. 8. Geo2Tag preparation ● Install your own server http://download.geo2tag.org ● or use free test instance: – Ask for creating service geo2tag-info@osll.ru – Register users http://194.85.173.9:20005/register.php? db_name=dbname
  9. 9. Getting HERE keys
  10. 10. com.nokia.maps.map.MapCanvas This class offers an abstract base class for providing a method of showing map content on a Canvas
  11. 11. Obtaining coordinates
  12. 12. Example layout Map widget implementation Implementation of Geo2Tag requests Getting coordinates on device
  13. 13. 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)
  14. 14. Map widget Basic map widget Supports gestures
  15. 15. Authentication
  16. 16. InfoBubble
  17. 17. FocalObserver and centering
  18. 18. Centering and add commands
  19. 19. ClearMap command
  20. 20. Show nearest tags
  21. 21. Geo2Tag requests doLoginRequest doSetDbRequest doFilterCircleRequest doWriteTag
  22. 22. .doLoginRequest
  23. 23. .doSetDbRequest
  24. 24. .doFilterCircleRequest
  25. 25. .doWriteTagRequest
  26. 26. 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
  27. 27. Your application will be used with thumbs only. © Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber
  28. 28. Allow privacy. © Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber
  29. 29. Consider lists instead of maps. © Nokia 2012 S40TT_webinar_ux_location.pptx v. 0.1 2012-05-02 Jan Krebber 1 2 3
  30. 30. 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
  31. 31. 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
  32. 32. 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/
  33. 33. Thank you. Questions? For more information: ● http://geo2tag.org ● http://fruct.org

×