Reputation: 1509
How can i send a data from Server to android directly without waiting for the request received from the Android. I have found one solution that is C2DM but it require separate Google account to use it Now i am afraid if i install the same app on two different android will it work or not
Plz suggest if u have some other mechanism.
Note: I dont want to use Network socket.
Upvotes: 1
Views: 319
Reputation: 28162
It will work. You need a gmail account registered for each android device AND a gmail account registered for sending out C2DM.
Alternatively you should make your own C2DM by polling your server at a regular interval (not recommended though).
Upvotes: 1