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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

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

  • 8,508 views
Published

 

  • 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
8,508
On SlideShare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
37
Comments
0
Likes
9

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. • ( ) • id:ninjinkun • @ninjinkun • Perl • for iPhone
  • 2. • iPhone API • • API •
  • 3. API iOS4 • Fast App Switching • Background Audio • Background Navigation • Background Location • Background VoIP • Task Compression • Push Notification • Local Notification
  • 4. API Background Location • • • • GPS • • Significant Location Changes • Region Monitoring
  • 5. API 2 API • Significant Location Changes • iPhone3GS • • • Region Monitoring • iPhone4 •
  • 6. API Significant Location Changes • • startMonitoringSignificantLocationChanges CLLocationManager* locationManager = [[CLLocationManager alloc] init]; locationManager.delegate = self; [locationManager startMonitoringSignificantLocationChanges];
  • 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. • •
  • 9. • • • • •
  • 10. • • Local Notification • Badge
  • 11. ... • 300m~500m • • • Deleaget Method • notification • • notification
  • 12. ... • • • ... • ?
  • 13. • • • • • iPhone Wikipedia
  • 14. ... • • • • • • ... •
  • 15. • • • • • • •
  • 16. • ? • • • Region Monitoring • iPhone4
  • 17. • iPhone API • Significant Location Changes • Region Monitoring • •