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

Hacking up location aware apps

on

  • 848 views

 

Statistics

Views

Total Views
848
Views on SlideShare
848
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Hacking up location aware apps Hacking up location aware apps Presentation Transcript

  • Hacking uplocation aware appsAnshu PrateekSearch/YDNYahoo! Developer Networkhttp://slideshare.net/anshprat@anshprat
  • Where?http://www.flickr.com/photos/saveoursmile/5849236335/
  • What’s around?
  • http://www.flickr.com/photos/joeshlabotnik/422697043/
  • http://www.flickr.com/photos/anonymouscollective/1899303123/
  • Oldest known map Imago Mundi Babylonian map, the oldest known world map, 6th century BCE Babylonia.http://en.wikipedia.org/wiki/Early_world_maps
  • World map as of 2011http://en.wikipedia.org/wiki/World_map
  • Beyond maps…
  • Typical questions..• Where?• Here?• Around?• Meta?• Who?• When?
  • Current Locationwww.flickr.com/photos/mukumbura/4092900623/
  • Current Location• Ask• Sniff• Infer
  • Ask the user
  • Ask the browserhttp://isithackday.com/hacks/geo/js-location.html
  • Ask the browserhttp://blog.ganeshzone.net/index.php/2011/05/geolocation-api-with-html5/
  • Ask the browserhttp://foursquare.com
  • 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
  • Sniffhttp://sulekha.com, http://asklaila.comhttp://justdial.com
  • IP Sniffinghttp://isithackday.com/hacks/geo/js-location.html
  • 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/
  • Infer
  • Infer
  • QueryWikipedia
  • Why go around when you have…
  • GeoCoding select * from geo.placefinder where text="iit delhi"
  • Reverse GeoCoding select * from geo.placefinder where text="12.9456651, 77.6472844" and gflags="R"
  • Yahoo! GeoPlanet™ http://where.yahooa pis.com/v1/places.q( gateway+of+india)?a ppid=
  • 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/
  • GeoPlanet Explorerhttp://isithackday.com/geoplanet-explorer/
  • 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 "
  • SELECT * FROM geo.placemakerWHERE documentURL = "http://www.mid-day.com/news/2012/j ul/250712-mumbai- Talking-a-toll.htm" ANDdocumentType="text/ html"
  • Interesting hacks• http://trendsmap.com/local/in/mumbai
  • http://christianheilmann.com/2009/07/14/rss2map-a- placemakeryahoo-maps-mashup/
  • Awesome Apps
  • Awesome Apps
  • Augmented Reality Metro AR Wikitude Layarhttp://www.businessinsider.com/best-augmented-reality-apps-for-iphone-and-ios-2011-3?op=1
  • 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/
  • http://www.snookerbacker.com/2011/04/24/crucible-day-9/