摘要:
使用noficaton报错如下:IllegalArgumentException: contentView required!1 nm = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);2 long when = System.currentTimeMillis();3 ntf = new Notification(ic,tickerText,when);4 PendingIntent pt = PendingIntent.getActivity(this, 0, null... 阅读全文