Successfully reported this slideshow.
Your SlideShare is downloading. ×

iPhoneのBluetoothについての知見まとめ

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 16 Ad

iPhoneのBluetoothについての知見まとめ

2/20南東京iPhone勉強会での発表資料です。
すれ違い通信アプリ『EncountMe』の開発を通してBluetoothについて得た知見をまとめました。
技術的間違いなどあれば是非ご指摘ください!
http://d.hatena.ne.jp/shu223/

2/20南東京iPhone勉強会での発表資料です。
すれ違い通信アプリ『EncountMe』の開発を通してBluetoothについて得た知見をまとめました。
技術的間違いなどあれば是非ご指摘ください!
http://d.hatena.ne.jp/shu223/

Advertisement
Advertisement

More Related Content

Advertisement

More from Shuichi Tsutsumi (20)

Advertisement

Recently uploaded (20)

iPhoneのBluetoothについての知見まとめ

  1. 1. 2011 2 21
  2. 2. 2011 2 21
  3. 3. 2011 2 21
  4. 4. 2011 2 21
  5. 5. 2011 2 21
  6. 6. GKPeerPickerController* picker = [[GKPeerPickerController alloc] init]; picker.delegate = self; picker.connectionTypesMask = GKPeerPickerConnectionTypeNearby; [picker show]; - (void)peerPickerController:didConnectPeer:toSession: 2011 2 21
  7. 7. session = [[GKSession alloc] initWithSessionID:SESSION_ID ! ! ! ! ! ! ! ! ! ! ! ! displayName:nil ! ! ! ! ! ! ! ! ! ! ! sessionMode:GKSessionModePeer]; ! ! [session setDataReceiveHandler:self withContext:nil]; ! ! session.delegate = self; ! ! session.available = YES; - (void) session: didReceiveConnectionRequestFromPeer: - (void) session: peer: didChangeState: 2011 2 21
  8. 8. 2011 2 21
  9. 9. 2011 2 21
  10. 10. peersWithConnectionState: 2011 2 21
  11. 11. 2011 2 21
  12. 12. 2011 2 21
  13. 13. 2011 2 21
  14. 14. - (void)applicationDidEnterBackground:(UIApplication *)application { [self.currentSession disconnectFromAllPeers]; self.currentSession.available = NO; } - (void)applicationWillEnterForeground:(UIApplication *)application { ! ! self.currentSession.available = YES; } 2011 2 21
  15. 15. 2011 2 21
  16. 16. 2011 2 21

×