Transcript
Adding Location to your App
June 24, 2011
Brent Hamby
Software Architect at deCarta
brent@decarta.com
101 - Advanced: How To Make A Good App Great
1 deCarta Internal Use Only
Three steps to adding LBS technology to your app:
1.) Figure out how to determine the location of the device hosting your app, e.g. the phone, tablet or computer...
2.) Figure out how to store (thereby share) and query the location data, e.g. the server, service, database…
3.) Figure out how to visualize the data via Maps, Pins, Shapes etc.
What’s the deal with Location ‘LBS’?
2 deCarta Internal Use Only
iPhone– CLLocationManager API reference : http://bit.ly/hWRYjV
– single / continuous reporting, accuracy, altitude, heading, proximity alerts with wake up
– Quick Start : http://bit.ly/g3RYsf
Android – LocationManager API reference: http://bit.ly/aFcx8d
– single / continuous reporting, accuracy, altitude, heading, proximity alerts, provider control
– Quick Start : http://bit.ly/aNymXH
HTML5 Apps– W3C Geolocation API : http://bit.ly/3r737c
– single / continuous reporting, accuracy, altitude, heading (in spec)
– Quick Start : http://bit.ly/mThs0R
– PhoneGap Native/Web build tool : http://phonegap.com
Location : GPS & AGPS Detection 101
3 deCarta Internal Use Only
RDBMS options:– PostGres PostGIS : http://postgis.refractions.net
– MySQL Spatial Extensions : http://bit.ly/5B2ZRn
– Oracle Spatial: http://bit.ly/f5zTdz
– SQLite Spatial : http://www.gaia-gis.it/spatialite/
NoSQL Options:– MongoDB Spatial: http://bit.ly/c3puXs (point/radius or bounding box)
– CouchDB Spatial: http://bit.ly/6tAGRz (point/radius or bounding box)
– Debate on SQL vs NoSQL: http://bit.ly/jymerY
Hosting Options for the impatient:– AWS: http://bit.ly/sdCp (free micro instance, public AMI catalog)
Hosted Service Options for immediate use:– SimpleGeo: http://www.simplegeo.com
Location : Storage & Spatial Retrieval 101
4 deCarta Internal Use Only
iPhone– iOS Mapkit http://bit.ly/isBj6o - Maps, Pins, Shapes, ReverseGeocoder
– deCarta iOS API : http://bit.ly/mE5lSv - Maps, Pins, Routes, 2D/2.5D, Geocoder, ReverseGeocoder, Tile Storage, OpenGL rendering, Satellite
Android– deCarta http://bit.ly/koRgiW - Maps, Pins, Routes, 2D/2.5D, Geocoder,
RevGeocoder, Tile Storage, OpenGL or Canvas rendering
– Google http://bit.ly/RYrEv - Maps, Pins, Satellite, StreetView, Traffic
HTML5– Bing http://bit.ly/ehA6R9 - Maps, Pins, Birdseye, Satellite, Shapes, Overlays
– deCarta http://bit.ly/eMA2Xm - Maps, Pins, Search, Routes, Geocoder, RevGeocoder, Tile Cache, Shapes, Overlays, Satellite
– Google http://bit.ly/cry3f0 - Maps, Pins, Satellite, StreetView, Traffic, Shapes, Overlays, Routes, Geocoder, RevGeocoder
Location : Visualizing 101
5 deCarta Internal Use Only
Location Based Advertising - When ads become pins on a map…
– More relevance, Higher CPM
– Advertising Technologies / APIs• Navteq LPA “Location Point Advertising”
Location Based Advertising with REST and Web APIs http://bit.ly/ebQWiM
• xAd LocalAdXchange Location based Ad Network http://www.xad.com/
• Retailigence location-based shopping http://www.retailigence.com/
Location : Monetizing 101
6 deCarta Internal Use Only
top related