Wednesday, December 12, 2012

Android Notification with NotificationCompat.Builder Example

notification Hi all,After long time I’m going to show how to use NotificationCompat.Builder to build Notification with backward compatibility.I used this builder for create notification.So i’m going to show how to create Notification with some data,Show it and show more content when press the notification it self.

First download my example source code from GitHub.Then Import it to eclipse and run it.

Here i have two activity,one is for creating Notification and other one is for show details.I’m not going to explain this in very details,because comment describes all the things.

device-2012-12-12-172746 device-2012-12-12-172818 device-2012-12-12-172829