Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hacking up location aware apps

1,094 views

Published on

Published in: Technology, Sports
  • Be the first to comment

  • Be the first to like this

Hacking up location aware apps

  1. 1. Hacking uplocation aware appsAnshu PrateekSearch/YDNYahoo! Developer Networkhttp://slideshare.net/anshprat@anshprat
  2. 2. Where?http://www.flickr.com/photos/saveoursmile/5849236335/
  3. 3. What’s around?
  4. 4. http://www.flickr.com/photos/joeshlabotnik/422697043/
  5. 5. http://www.flickr.com/photos/anonymouscollective/1899303123/
  6. 6. Oldest known map Imago Mundi Babylonian map, the oldest known world map, 6th century BCE Babylonia.http://en.wikipedia.org/wiki/Early_world_maps
  7. 7. World map as of 2011http://en.wikipedia.org/wiki/World_map
  8. 8. Beyond maps…
  9. 9. Typical questions..• Where?• Here?• Around?• Meta?• Who?• When?
  10. 10. Current Locationwww.flickr.com/photos/mukumbura/4092900623/
  11. 11. Current Location• Ask• Sniff• Infer
  12. 12. Ask the user
  13. 13. Ask the browserhttp://isithackday.com/hacks/geo/js-location.html
  14. 14. Ask the browserhttp://blog.ganeshzone.net/index.php/2011/05/geolocation-api-with-html5/
  15. 15. Ask the browserhttp://foursquare.com
  16. 16. W3C geolocation API navigator.geolocation.getCurrentPosition(function(position) { console.log( Your Coordinates are ’ + position.coords.latitude +&’+ position.coords.longitude ); }http://dev.w3.org/geo/api/spec-source.html
  17. 17. Sniffhttp://sulekha.com, http://asklaila.comhttp://justdial.com
  18. 18. IP Sniffinghttp://isithackday.com/hacks/geo/js-location.html
  19. 19. IP Sniffing <script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script> • geoip_latitude • geoip_longitude • geoip_city • geoip_region • geoip_region_name • geoip_postal_code • geoip_country_code • geoip_country_namehttp://www.maxmind.com/
  20. 20. Infer
  21. 21. Infer
  22. 22. QueryWikipedia
  23. 23. Why go around when you have…
  24. 24. GeoCoding select * from geo.placefinder where text="iit delhi"
  25. 25. Reverse GeoCoding select * from geo.placefinder where text="12.9456651, 77.6472844" and gflags="R"
  26. 26. Yahoo! GeoPlanet™ http://where.yahooa pis.com/v1/places.q( gateway+of+india)?a ppid=
  27. 27. Yahoo! GeoPlanet™ • geo.places.ancestors • geo.places.belongtos • geo.places.children • geo.places.common • geo.places.descendants • geo.places.neighbors • geo.places.parent • geo.places.siblingshttp://developer.yahoo.com/geo/geoplanet/
  28. 28. GeoPlanet Explorerhttp://isithackday.com/geoplanet-explorer/
  29. 29. SELECT * FROM geo.placemaker WHERE documentContent = "ARRahman received his oscaraward in Los Angeles for amovie made in Mumbai forwhich he composed music in Chennai" ANDdocumentType="text/plain "
  30. 30. SELECT * FROM geo.placemakerWHERE documentURL = "http://www.mid-day.com/news/2012/j ul/250712-mumbai- Talking-a-toll.htm" ANDdocumentType="text/ html"
  31. 31. Interesting hacks• http://trendsmap.com/local/in/mumbai
  32. 32. http://christianheilmann.com/2009/07/14/rss2map-a- placemakeryahoo-maps-mashup/
  33. 33. Awesome Apps
  34. 34. Awesome Apps
  35. 35. Augmented Reality Metro AR Wikitude Layarhttp://www.businessinsider.com/best-augmented-reality-apps-for-iphone-and-ios-2011-3?op=1
  36. 36. Useful resources• http://developer.yahoo.com/geo/• http://isithackday.com/hacks/geo/• http://isithackday.com/geoplanet-explorer/• http://developer.yahoo.com/geo/geoplanet/d ata/
  37. 37. http://www.snookerbacker.com/2011/04/24/crucible-day-9/

×