views:

77

answers:

2

Hello all,

I'm wondering if it would be possible at all to transfer data between two different iphones using gestures on one iphone? For instance, flick an image on iphone A and it would show up on iphone B.

I realize this would require some sort of communication channel between the two iphones (may be bluetooth?). Assuming such a communication channel has been established, is it possible? I'm looking for ideas from the community on how this can be accomplished if it is possible.

Thanks! - Azeem

A: 

Sure, just open a connection between the devices (GameKit could provide the peer-to-peer connectivity). Create a method that sends content, then call that method when you detect the gesture that you'd like to use.

You'll obviously need to have views that display the content that you'd like to send, but you can easily detect that a user has initiated a touch within one of your views in order to determine which content to actually send.

jessecurry
A: 

Take a look at the Bump API. Sure the gesture would be knocking the two devices together, but it looks really easy to implement.

Epsilon Prime
Thank you, that is exactly what I needed.
Azeem