Re: iPhone: Lost with GK

2010-02-07 Thread Luke the Hiesterman
The size sounds like a problem. I don't remember the exact limit, but I seem to recall the send buffer is just under 100k. You'll want to break that up into packets. Luke On Feb 7, 2010, at 8:53 AM, Development wrote: > Ok I think I am making headway. > > I am storing an NSDictionary object t

Re: iPhone: Lost with GK

2010-02-07 Thread Development
Ok I think I am making headway. I am storing an NSDictionary object that contains several bits of string data and an image in png format saved as plain nsdata. I am using the NSKeyedArchiver to write the data to disk then attempting to send that via bluetooth to another iphone. However it fails

iPhone: Lost with GK

2010-02-06 Thread Development
I'm trying to send an image in NSData format via bluetooth from one device to another. Below is my code: -(void)sendDataToPeer:(NSString*)peerID andSession:(GKSession*)session { if ([connections objectForKey:peerID]) { [delegate cardSent:[session displayNameForPeer:peerID