Android Status Bar Notification with Badge icon.
Now you can display status bar notification with badge icon in android .
notification.setLatestEventInfo(NotificationActivity.this,
"notify","Description",
PendingIntent.getActivity(this.getBaseContext(), 0, intent,
PendingIntent.FLAG_CANCEL_CURRENT));
notification.number = 5;
mManager.notify(APP_ID, notification);
Screen shot:
Below link i attached source code for this one you can download it.
DOWNLOAD SOURCE CODE
Now you can display status bar notification with badge icon in android .
Source code :
Notification notification = new Notification(R.drawable.ic_launcher, "Notify",System.currentTimeMillis()); notification.setLatestEventInfo(NotificationActivity.this,
"notify","Description",
PendingIntent.getActivity(this.getBaseContext(), 0, intent,
PendingIntent.FLAG_CANCEL_CURRENT));
notification.number = 5;
mManager.notify(APP_ID, notification);
Screen shot:
![]() | |||||||
![]() |
DOWNLOAD SOURCE CODE

