попробуйте это: вызвать этот метод как showNotification ("заголовок строки состояния", ID)
NotificationManager mNM;
void showNoitification(String text, int id) {
mNM = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
// CharSequence text = "Batch action in progress";
Notification notification = new Notification(
android.R.drawable.arrow_up_float, text,
System.currentTimeMillis());
notification.defaults = Notification.FLAG_ONLY_ALERT_ONCE
+ Notification.FLAG_AUTO_CANCEL;
// Intent pendingintent = new Intent(this, BlankActivity.class);
Intent pendingintent = new Intent();
PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
pendingintent, 0);
notification.setLatestEventInfo(this, "your application", text, contentIntent);
// notification.deleteIntent;
notification.flags = Notification.FLAG_AUTO_CANCEL;
mNM.notify(id, notification);
}