创建Notification在API1.6之前创建方式:
Notificatin notify = new Notification.Builder(this).build();
API1.6之后就不支持build()方法了而是如下:
Notificatin notify = new Notification.Builder(this).getNotification();
创建Notification在API1.6之前创建方式:
Notificatin notify = new Notification.Builder(this).build();
API1.6之后就不支持build()方法了而是如下:
Notificatin notify = new Notification.Builder(this).getNotification();
转载于:https://my.oschina.net/u/1183930/blog/638273