Locationまわりについて@Nippori Tech Talk 2010/09/18
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Locationまわりについて@Nippori Tech Talk 2010/09/18

  • 3,373 views
Uploaded on

Nippori Tech Talkの資料です 2010/09/18

Nippori Tech Talkの資料です 2010/09/18

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,373
On Slideshare
3,369
From Embeds
4
Number of Embeds
1

Actions

Shares
Downloads
21
Comments
0
Likes
7

Embeds 4

https://twitter.com 4

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. Location @ tanB http://goo.gl/kmYH
  • 2. Location
  • 3. 2 brightkite foursquare
  • 4. twitter facebook Application + iPhoneSDK Android
  • 5. LocationAPI Application
  • 6. LocationAPI Application
  • 7. 2004 Where2.0 Conference iTunes http://itunes.apple.com/jp/podcast/oreilly- where-2-0-conference/id349402401
  • 8. • GMS http://geomediasummit.jp/ •G EXPO (2010 9/19,20,21) http://www.g-expo.jp/
  • 9. [ NTT getAgendaFromSpeaker: ”tanB” ]
  • 10. • iOS CLLocationManager • • HTML5 • GeoHex
  • 11. CoreLocation/CoreLocation.h CLLocationManagerDelegate CLLocationManager delegate viewController( self)
  • 12. • startMonitoringSignificantLocationChanges • startMonitoringForRegion GPS
  • 13. • startMonitoringSignificantLocationChanges • startMonitoringForRegion GPS
  • 14. • - (void)startMonitoringForRegion:(CLRegion *)region desiredAccuracy:(CLLocationAccuracy)accuracy • region - (id)initCircularRegionWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier
  • 15. • • - (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLRegion *)region • - (void)locationManager:(CLLocationManager *)manager didExitRegion:(CLRegion *)region
  • 16. region center radius
  • 17. region center radius EnterRegion
  • 18. region center radius EnterRegion ExitRegion
  • 19. region center radius EnterRegion ExitRegion
  • 20. startMonitoring...
  • 21. startMonitoring...
  • 22. startMonitoring...
  • 23. iOS4 applicationWillTerminate 3.x iOS4.x
  • 24. Location OFF
  • 25. Region http://github.com/tanB/LocationDemo
  • 26. info.plist URL Open < >://< >?< >=< > foursquare API http://groups.google.com/group/foursquare-api/browse_thread/thread/712c82fad08dd88e
  • 27. HTML5 • navigation.geolocation
  • 28. HTML5 getCurrentPosition() • watchPosition() • watchPosition clearWatch()
  • 29. WiFi Mac IP Firefox, Chrome Google Location Service (GLS) Opera, Safari Skyhook wireless
  • 30. bookmarklet javascript:(function(){%20%20var%20myMapContaner%20=%20document.createElement('div');%20%20myMapContaner.id%20=%20"myMapContaner"; %20%20myMapContaner.style.float%20=%20"left";%20%20myMapContaner.style.position%20=%20"absolute";%20%20myMapContaner.style.top%20=%20"0"; %20%20myMapContaner.style.width%20=%20'100%';%20%20myMapContaner.style.height%20=%20'100%';%20%20myMapContaner.style.zIndex%20=%20"999";%20%20var%20btn %20=%20document.createElement('div');%20%20btn.style.width%20=%20"100%";%20%20btn.style.textAlign%20=%20"center";%20%20btn.style.height%20=%20"20px"; %20%20btn.style.float%20=%20"left";%20%20btn.style.position%20=%20"absolute";%20%20btn.innerHTML="^";%20%20btn.style.background%20=%20"#77CCCC"; %20%20btn.style.borderColor%20=%20"#FFFFFF%20#555555%20#555555%20#FFFFFF";%20%20btn.style.borderWidth%20=%20"1px";%20%20btn.style.borderStyle%20= %20"solid";%20%20btn.onclick%20=%20function(){%20%20%20var%20dom_obj=document.getElementById("myMapContaner"); %20%20%20document.getElementsByTagName('body')[0].removeChild(dom_obj);%20%20};%20%20myMapContaner.appendChild(btn);%20%20var%20ifrm%20= %20document.createElement('iframe');%20%20ifrm.src%20=%20'http://tanbhouse.appspot.com/mymap';%20%20ifrm.style.width%20=%20'100%';%20%20ifrm.style.height%20= %20'60%';%20%20ifrm.style.float%20=%20"left";%20%20ifrm.style.position%20=%20"absolute";%20%20ifrm.style.top%20=%20"20px";%20%20ifrm.style.border%20=%20"0px"; %20%20ifrm.style.margin%20=%20"0px";%20%20myMapContaner.appendChild(ifrm);%20%20document.getElementsByTagName('body')[0].appendChild(myMapContaner);})(); http://tanbhouse.appspot.com/mymap
  • 31. GeoHex
  • 32. GoogleMap Zone Zone http://www.slideshare.net/sa2da/geohex-20100903-5126785
  • 33. latitude , longitude zonecode latitude , longitude zonecode latitude , longitude zonecode : :
  • 34. • iOS • HTML5 •