I have experimented with c2dm and it works adn I am getting message ( I print simple toast ). How to set notification to look the same like notification for gmail for example, to show me in notification area, upper right corner when I get new ? Is there any flag for this or api ? ( At the momemnt I get message in code, extract from intent by key and show toast but there is nothing in notification area ).
Share
Within your C2DMReceiver Class which is extended from C2DMBaseReceiver. Put the following code under the override function onMessage, and also write a function named createNotification() which is given below.