Your SlideShare is downloading. ×
Hacking up location aware apps
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Hacking up location aware apps

1,043
views

Published on

Published in: Technology, Sports

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,043
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Hacking uplocation aware apps@pradeepbvhttp://slideshare.net/pradeepbv
  • 2. Where?http://www.flickr.com/photos/saveoursmile/5849236335/
  • 3. What’s around?
  • 4. http://www.flickr.com/photos/joeshlabotnik/422697043/
  • 5. http://www.flickr.com/photos/anonymouscollective/1899303123/
  • 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. World map as of 2011http://en.wikipedia.org/wiki/World_map
  • 8. Beyond maps…http://en.wikipedia.org/wiki/Early_world_maps
  • 9. Typical questions..• Where?• Here?• Around?• Meta?• Who?• When?
  • 10. Current Locationwww.flickr.com/photos/mukumbura/4092900623/
  • 11. Current Location• Ask• Sniff• Infer
  • 12. Ask the user
  • 13. Ask the browserhttp://isithackday.com/hacks/geo/js-location.html
  • 14. Ask the browserhttp://blog.ganeshzone.net/index.php/2011/05/geolocation-api-with-html5/
  • 15. Ask the browserhttp://foursquare.com
  • 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. Sniffhttp://sulekha.comhttp://asklaila.com
  • 18. IP Sniffinghttp://isithackday.com/hacks/geo/js-location.html
  • 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. Infer
  • 21. Infer
  • 22. QueryWikipedia
  • 23. Why go around when you have…
  • 24. GeoCoding select * from geo.placefinder where text="iit kharagpur"
  • 25. Reverse GeoCoding select * from geo.placefinder where text="12.9456651, 77.6472844" and gflags="R"
  • 26. Yahoo! GeoPlanet™ http://where.yahooa pis.com/v1/places.q( howrah+bridge’)
  • 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. GeoPlanet Explorerhttp://isithackday.com/geoplanet-explorer/
  • 29. SELECT * FROM geo.placemaker WHEREdocumentContent = "While Deepika is fromBangalore, Bipasha is fromKolkata they predominantly act in movies made in Mumbai" ANDdocumentType="text/plain "
  • 30. SELECT * FROM geo.placemakerWHERE documentURL ="www.telegraphindia.com/1120323/jsp/calcutta/index.jsp" ANDdocumentType="text/ html"
  • 31. Putting it all togetherDemo: http://icant.co.uk/geomaker/index.phpCode: https://github.com/codepo8/GeoMaker
  • 32. Interesting hacks• http://trendsmap.com/local/india
  • 33. http://christianheilmann.com/2009/07/14/rss2map-a- placemakeryahoo-maps-mashup/
  • 34. Awesome Apps
  • 35. Awesome Apps
  • 36. Augmented Reality Metro AR Wikitude Layarhttp://www.businessinsider.com/best-augmented-reality-apps-for-iphone-and-ios-2011-3?op=1
  • 37. 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/
  • 38. Awesome AppsQuestions?