Get Started with Location Based Services

2,013 views
1,840 views

Published on

Presented at FITC SCREENS 2011 in Toronto, Canada. Location-based services (LBS) are more than just a trend, they are a set of tools that can help developers create personalized, immediate, user-centric applications. Today, as social networking has become engrained in our personal and professional lives, LBS has opened the door to creativity and can make apps more efficient.

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

  • Be the first to like this

No Downloads
Views
Total views
2,013
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
39
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Get Started with Location Based Services

  1. 1. GET STARTED WITH LOCATION BASED SERVICESJean-Luc David @jldavid yellowapi.com
  2. 2. SERVICES THATLOCATE YOU.
  3. 3. SERVICES THAT TEPEOPLE WHERE YOARE.
  4. 4. SERVICES THATPROVIDE CONTEXT
  5. 5. • Cross-platform development • Finding quality data BigChallenges • Places fragmentation • Monetization
  6. 6. WIFI TRIANGULATION
  7. 7. GPS TRIANGULATION
  8. 8. CELLULARTRIANGULATION
  9. 9. IPHONEGEOLOCATION@interface AddressAnnotation : NSObject<MKAnnotation> { CLLocationCoordinate2D coordinate; } @end -(id)initWithCoordinate:(CLLocationCoordinate2D) c{ coordinate=c; NSLog(@"%f,%f",c.latitude,c.longitude); } return self; @end
  10. 10. ANDROIDGEOLOCATIONLocationManager locationManager = (LocationManager)this.getSystemService(Context.LOCATION_SERVICE);LocationListener locationListener = new LocationListener() { public void onLocationChanged(Location location) { makeUseOfNewLocation(location); } public void onStatusChanged(String provider, int status, Bundle extras) {} public void onProviderEnabled(String provider) {} public void onProviderDisabled(String provider) {} };locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);
  11. 11. HTML5GEOLOCATION if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(success, err); } else { error(not supported); } http://www.modernizr.comSupported in Firefox 3.5+, Chrome 5+, Opera 10.6+, IE9+
  12. 12. introducingIODOCSExploring, learningand testingYellowAPI is easy!Use your APIkey, fill in theparameter fieldsand presto.
  13. 13. HTTP://WWW.YELLOWAPI.COM
  14. 14. • Cross-platform development • Finding quality data • Places fragmentation BigChallenges • Monetization
  15. 15. UNCURATED DATA
  16. 16. YELLOWAPI STRAIGHT FROM THE SOURCE2250 SALES PEOPLE GATHERING DATA 700 INTERNAL CURATORS 11+ TELCOS
  17. 17. • Cross-platform development • Finding quality data • Places fragmentation BigChallenges • Monetization
  18. 18. LOTS OF LOCATION APIs
  19. 19. YELLOWAPI WHATWhat - Anything goes!Works best with categories & business names
  20. 20. YELLOWAPI WHEREGeo search Specific coordinates (lat/long) Ranking is based on proximity Great for LBS!Regional search Province, city, postal code, etc. Ranking is based on relevance within the specified region
  21. 21. YELLOWAPI BUSINESSFIND http://api.yellowapi.com/FindBusiness/? what=cars&where=Montreal&fmt=json& apiKey=<api key>&UID=demoappp { summary: { searchType: "si", searchFlags: "", searchOrder: "located", what: "cafe", where: "montreal,qc", firstListing: 1, lastListing: 40, totalListings: 1420, pageCount: 36, currentPage: 1, listingsPerPage: 40,
  22. 22. YELLOWAPIGET BUSINESS DETAILS http://api.yellowapi.com/GetBusinessDetails/? listingId=6418182&prov=-&bus-name=- &apikey=<key>&UID=demoapp&fmt=jsonid: "6418182",name: "Co-operators The",address:{street: "123 Cooper St",city: "Montreal",prov: "QC",pcode: "H1H 2J3"},merchantUrl:"http://www.yellowpages.ca/bus/Canada/-/6418182.html?ypid="} ...
  23. 23. Merchant ID: 123456 Venue ID: 655254 Places ID: ae1d5a44a565a5 ...
  24. 24. VENUES/SEARCH APIhttps://developer.foursquare.com/docs/explore.html#req=venues/search ?ll=45.469208,-73.538805&providerId=ypg &linkedId=6338420 response: { venues: [ { Id: "4b1d1c48f964a520ee0b24e3" name: "Yellow Pages Group" contact: { phone: "5149342611" formattedPhone: "(514) 934-2611" } location: { address: "16 Place du Commerce" lat: 45.469582 lng: -73.539045 ...
  25. 25. VENUE/LINKS APIhttps://developer.foursquare.com/docs/explore.html#req=venues/4b1d1c48f964a520ee0b24e3/links&v=20110705 response: { links: { count: 1 items: [ { provider: { id: "ypg" } linkedId: "6338420" url: "http://www.yellowpages.ca/bus/Quebec/Verdun/Yellow-Pages- Group-Montreal/6338420.html } ] } }
  26. 26. HTTP://DEVELOPER.FACTUAL.COM
  27. 27. • Cross-platform development • Finding quality data • Places fragmentation BigChallenges • Monetization
  28. 28. DEVELOPER PROGRAMSUPPORT FOR:- INCUBATION $$$- DESIGN- DEVELOPMENTMORE ABOUT THIS AND MORE INBRAD WING’S TALK AT 2:00 PM IN THISROOM!
  29. 29. • Cross-platform is facilitated by right tools & SDKs Take Aways • Curated data > Uncurated data • Look for hubs & harmonization • Monetize your geolocal apps! Jean-Luc.David@ypg.comJean-Luc David @jldavid yellowapi.com

×