•             (                 )

    •   id:ninjinkun
    •   @ninjinkun
•             Perl

•                  for iPho...
•   iPhone         API


•
    •        API

    •
API
iOS4

 •   Fast App Switching
 •   Background Audio
 •   Background Navigation
 •   Background Location
 •   Backgroun...
API
Background Location

 •
 •
 •
     •                GPS

 •
     •   Significant Location Changes
     •   Region Monit...
API
2           API

    •   Significant Location Changes
        •  iPhone3GS

        •
        •
    •   Region Monitori...
API
Significant Location Changes

 •
     •   startMonitoringSignificantLocationChanges

  CLLocationManager* locationManage...
API
Significant Location Changes

 •   Delegate Method
     •locationManager:didUpdateToLocation:fr
      omLocation:oldLoc...
•
•
•
    •
•
    •
    •
•

•   Local Notification


•
               Badge
...

•       300m~500m

    •
    •
•   Deleaget Method

    •               notification

    •
    •                     ...
...

•
    •
    •   ...

    •               ?
•
    •
    •
•
    •   iPhone




                 Wikipedia
...

•
•
    •
        •
        •
            •   ...

        •
•
    •
        •
        •
    •
    •
    •
•                                 ?

    •
    •
•   Region Monitoring

    •                   iPhone4
•   iPhone                            API

    •   Significant Location Changes
    •   Region Monitoring
•

•
バックグラウンド位置取得について
バックグラウンド位置取得について
Upcoming SlideShare
Loading in...5
×

バックグラウンド位置取得について

9,040

Published on

バックグラウンド位置取得について

  1. 1. • ( ) • id:ninjinkun • @ninjinkun • Perl • for iPhone
  2. 2. • iPhone API • • API •
  3. 3. API iOS4 • Fast App Switching • Background Audio • Background Navigation • Background Location • Background VoIP • Task Compression • Push Notification • Local Notification
  4. 4. API Background Location • • • • GPS • • Significant Location Changes • Region Monitoring
  5. 5. API 2 API • Significant Location Changes • iPhone3GS • • • Region Monitoring • iPhone4 •
  6. 6. API Significant Location Changes • • startMonitoringSignificantLocationChanges CLLocationManager* locationManager = [[CLLocationManager alloc] init]; locationManager.delegate = self; [locationManager startMonitoringSignificantLocationChanges];
  7. 7. API Significant Location Changes • Delegate Method •locationManager:didUpdateToLocation:fr omLocation:oldLocation --(void)locationManager:(CLLocationManager*)manager - didUpdateToLocation:(CLLocation*)newLocation - fromLocation:(CLLocation*)oldLocation { if ([[UIApplication sharedApplication] applicationState] != UIApplicationStateActive) { Do something... } }
  8. 8. • •
  9. 9. • • • • •
  10. 10. • • Local Notification • Badge
  11. 11. ... • 300m~500m • • • Deleaget Method • notification • • notification
  12. 12. ... • • • ... • ?
  13. 13. • • • • • iPhone Wikipedia
  14. 14. ... • • • • • • ... •
  15. 15. • • • • • • •
  16. 16. • ? • • • Region Monitoring • iPhone4
  17. 17. • iPhone API • Significant Location Changes • Region Monitoring • •
  1. A particular slide catching your eye?

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

×