Sugan S
Sugan S

Reputation: 1778

Android push Notification sample

I refered Link Here and Implemented sample android Push Notification.I have already registered in C2DM Server but still I can't send a message to the Emulator because of error in sendMessage() Method.and also while registering i gave 2 Id (id 1 as a Contactmail id2 as a senderid).during runtime clientside(i gave id1) and serverside (stored pref also Id1) its correct are i want to change reply me.Thank u

Upvotes: 1

Views: 5422

Answers (1)

AndroidDev
AndroidDev

Reputation: 2647

When you want to receive C2DM message create emulator and select target SDK of Google APIs(Google Inc.) - API level 8(use api level 8 or more). Because C2DM feature was introduced from OS Version 2.2.
Always use Google APIs more than level 8.
here you can get end-to-end detail. Also useful from server side.

Upvotes: 2

Related Questions