Send event between iPhones - iphone

I want to create a social interaction application which sends an event to each other. For example, if user1 shakes the phone, user2 will be notified in real-time. Could you help me out where to start?
I am working in iOS7 using Xcode 5.0

You can use Bluetooth or Bump or something self implemented.
Try search for a GameKit tutorial (Bluetooth) or visit Bump repo

I found out that Push Notifications provide a solution in this regard. The following tutorial was very helpful.
http://www.raywenderlich.com/32960/
I followed the tutorial and I could implement my application!

Related

link iPhone control app to main iPad app

Does anyone know what might be the best way to go about doing this? My CS research prof. suggested that Bluetooth might be the best way to go.
I am working on a music app for iPad and want to make a separate app on an iPhone/iPod touch to act as a remote control for the main app. Just sending a few button/slider/etc messages to a few IBActions.
Thanks.
This is the right approach.
Refer to the CoreBluetooth Framework Reference for all the necessary information.
There is also sample code.

How to get notification from server in iphone

For my iphone game i need to implement a notification service from the server.
That is suppose 5 person playing the game(online game) then if any one of them made a movement
then that move must send to all his buddies. How can i achieve this. Is there any server programming needed. I'm not meaning the Apple push notification.
Can anybody help me
I don't think push notifications is the best way to do that. You should think about a permanent connection.
If you still want to make push notifications, the Apple doc is really clear
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
I suggest looking into Apple's GameKit framework.

How do msn like apps work in iPhone?

How is the msn messenger app developed? What I want to know is how does the app gets ti know that a new message is received, even while running in the background. Please refer any code snippets or tutorial.
Many thanks in advance.
Probably with push notification.
See Local and Push Notification Programming Guide

Push Notification in ?Iphone

I m trying to implement Push Notifications in Iphone SDK 4.0.I have done up to the point of generating Token for device.I don't know how to proceed further.I need example to test Push Notification.
Thanks
No easy answer for this, but you might want to start with the programming guide (link below). Be aware that you'll also need a server to generate the push notifications - you could enlist a 3rd party service for this - like Urban Airship
http://urbanairship.com/products/push/
Notification Programming Guide from Apple:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html
Good luck. Andrew
If you want an open source alternative you have one in PHP:
PHP Apple Push Notification Provider
http://code.google.com/p/php-apns/

Implementing sms push in iphone

Is it possible to invoke an application on reception of an sms. I have created a sample application and it need to be launched when the iphone recieves a particular message. Is it possible to implement this in iphone. If possible, which way shall i do that... pls help...
In short, no.
In the long answer, I believe with version 3.0 you can have your app subscribe to Apple's push notification service. Meaning that you can have your app answer to a notification from Apple that you send. Not quite SMS, but it accomplishes the same thing.
Try this:
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html