how can broadcasting the push notifications be done to all devices using my application. I have seen this feature in Urban airship, which sends broadcast message to all devices which has the application. I need to use my own program to send broadcast. Can this be done?? If yes how? I have searched on google but i could not find a satisfying answer. Any links regarding this would be helpful.
Thank you
EDIT
curl --header "Authorization: GoogleLogin auth=*my auth key here*" "https://android.apis.google.com/c2dm/send" -d registration_id=<registration id of the device> -d "data.payload=You have recieved a Push Notification" -d collapse_key=0 -k
I have been using this to send notification, the notification gets delivered to the registered device, i.e. emulator. I need to send notification to all the device which is using my application. How is it achieved?
C2dm from google enables to send push messages to your application running on multiple devices.For this you have to register a gmail account with google c2dm service.also your device should have registered with google with any google account and should have market installed
follow the link.documentation is good.hope this help
have a look at above basic tutorials too
your application structure should be somewhat like thi accepting registration ids from all devices when they get registered and looping through these ids and send messages