renderman47
renderman47

Reputation: 21

Send location coordinate to another iPhone

I am trying to write an app that communicates with another app. I just want to see the other person on my map. Is this possible ? I can handle all the map details if I can get the coordinates in real time. Any advice on communicating with other iPhones would be great. I donot want to use Apple Push Notification service.

Upvotes: 0

Views: 436

Answers (2)

Tyler Zale
Tyler Zale

Reputation: 634

I would suggest you look into Bonjour services for the iphone. If you want one instance of your app to communicate with another instance of the same app on another iphone, then this is probably what you want, unless you want to use gamecenter.

With bonjour services you can advertise a service on the phone while the app is running and have the other iphone connect to that service and send it some data.

Upvotes: 0

Daniel
Daniel

Reputation: 22405

You can achieve this by having some web service running that allows the iphone to get and send information to it. Look around this site, the question of how to make requests from a service through the iphone has been asked many many times. Specifically look at NSURLRequest/NSURLMutableRequest documentation ...hope this helps

Upvotes: 1

Related Questions