Location
         @ tanB

     http://goo.gl/kmYH
Location
2
 brightkite
foursquare
twitter
facebook
  Application
        +




    iPhoneSDK Android
LocationAPI
  Application
LocationAPI
  Application
2004

Where2.0 Conference



                 iTunes

                 http://itunes.apple.com/jp/podcast/oreilly-
       ...
• GMS
 http://geomediasummit.jp/
•G      EXPO (2010 9/19,20,21)

 http://www.g-expo.jp/
[ NTT getAgendaFromSpeaker: ”tanB” ]
• iOS      CLLocationManager

•

• HTML5
• GeoHex
CoreLocation/CoreLocation.h
CLLocationManagerDelegate




CLLocationManager
delegate   viewController(    self)
• startMonitoringSignificantLocationChanges

• startMonitoringForRegion
  GPS
• startMonitoringSignificantLocationChanges

• startMonitoringForRegion
  GPS
•
    - (void)startMonitoringForRegion:(CLRegion *)region
                     desiredAccuracy:(CLLocationAccuracy)accurac...
•
    •

    - (void)locationManager:(CLLocationManager *)manager
             didEnterRegion:(CLRegion *)region


    •

...
region
center   radius
region
  center      radius


EnterRegion
region
  center       radius


EnterRegion
              ExitRegion
region
  center       radius


EnterRegion
              ExitRegion
startMonitoring...
startMonitoring...
startMonitoring...
iOS4




applicationWillTerminate 3.x
iOS4.x
Location   OFF
Region




http://github.com/tanB/LocationDemo
info.plist
                          URL        Open
      <           >://<             >?<               >=<            ...
HTML5

•
    navigation.geolocation
HTML5
    getCurrentPosition()

•
    watchPosition()

• watchPosition
    clearWatch()
WiFi
Mac            IP




Firefox, Chrome
     Google Location Service (GLS)

Opera, Safari
   Skyhook wireless
bookmarklet
javascript:(function(){%20%20var%20myMapContaner%20=%20document.createElement('div');%20%20myMapContaner.id%20...
GeoHex
GoogleMap



       Zone



               Zone



 http://www.slideshare.net/sa2da/geohex-20100903-5126785
latitude , longitude   zonecode
latitude , longitude   zonecode
latitude , longitude   zonecode
           :              ...
• iOS
• HTML5
•
Locationまわりについて@Nippori Tech Talk 2010/09/18
Locationまわりについて@Nippori Tech Talk 2010/09/18
Upcoming SlideShare
Loading in...5
×

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

3,023

Published on

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

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

No Downloads
Views
Total Views
3,023
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
22
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide
































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

    1. 1. Location @ tanB http://goo.gl/kmYH
    2. 2. Location
    3. 3. 2 brightkite foursquare
    4. 4. twitter facebook Application + iPhoneSDK Android
    5. 5. LocationAPI Application
    6. 6. LocationAPI Application
    7. 7. 2004 Where2.0 Conference iTunes http://itunes.apple.com/jp/podcast/oreilly- where-2-0-conference/id349402401
    8. 8. • GMS http://geomediasummit.jp/ •G EXPO (2010 9/19,20,21) http://www.g-expo.jp/
    9. 9. [ NTT getAgendaFromSpeaker: ”tanB” ]
    10. 10. • iOS CLLocationManager • • HTML5 • GeoHex
    11. 11. CoreLocation/CoreLocation.h CLLocationManagerDelegate CLLocationManager delegate viewController( self)
    12. 12. • startMonitoringSignificantLocationChanges • startMonitoringForRegion GPS
    13. 13. • startMonitoringSignificantLocationChanges • startMonitoringForRegion GPS
    14. 14. • - (void)startMonitoringForRegion:(CLRegion *)region desiredAccuracy:(CLLocationAccuracy)accuracy • region - (id)initCircularRegionWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier
    15. 15. • • - (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLRegion *)region • - (void)locationManager:(CLLocationManager *)manager didExitRegion:(CLRegion *)region
    16. 16. region center radius
    17. 17. region center radius EnterRegion
    18. 18. region center radius EnterRegion ExitRegion
    19. 19. region center radius EnterRegion ExitRegion
    20. 20. startMonitoring...
    21. 21. startMonitoring...
    22. 22. startMonitoring...
    23. 23. iOS4 applicationWillTerminate 3.x iOS4.x
    24. 24. Location OFF
    25. 25. Region http://github.com/tanB/LocationDemo
    26. 26. info.plist URL Open < >://< >?< >=< > foursquare API http://groups.google.com/group/foursquare-api/browse_thread/thread/712c82fad08dd88e
    27. 27. HTML5 • navigation.geolocation
    28. 28. HTML5 getCurrentPosition() • watchPosition() • watchPosition clearWatch()
    29. 29. WiFi Mac IP Firefox, Chrome Google Location Service (GLS) Opera, Safari Skyhook wireless
    30. 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. 31. GeoHex
    32. 32. GoogleMap Zone Zone http://www.slideshare.net/sa2da/geohex-20100903-5126785
    33. 33. latitude , longitude zonecode latitude , longitude zonecode latitude , longitude zonecode : :
    34. 34. • iOS • HTML5 •
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×