How to show notification in android?
I have created an android application for a RSS reader it is working fine .Now i want to show a notification to the user at the time of recei开发者_开发技巧ving a new blog or feed
please any one help me how to do that
Thanks in advance
Check out the NotificationManager
class.
Given answer is good only @Krishna wants to develop a notification. But in his scenario, he needs to tell the user, when they receives an updates. So while you are studying the given link, also remember you should have a mechanism to Broadcast when you receive a notification even when the user is not already open your application. As a hint: you have to provide some services and permissions in Manifest file.
This documentation page also explain very well with coding.
精彩评论