waseemwk
waseemwk

Reputation: 1509

How to send data from Server to Android Directly without invoking first from the android

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

Answers (1)

Warpzit
Warpzit

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

Related Questions