我想做的确切,他做了什么:Android Notification at time 但在我的AlarmReceiver类中,我有一个错误:方法build()未定义类型NotificationCompat.Builder,在行:mNotificationManager.notify(1,mBuilder.build());NotificationCompat.Builder缺少build()方法
在android开发人员站点是一个类似的代码,但出现同样的错误(http://developer.android.com/training/notify-user/build-notification.html)。
任何帮助,非常感谢。
谢谢,它工作正常... :) – mate1229
或使用新的NotificationCompat.Builder(上下文)为目标> =蜂窝在另一个问题中提到! – sjkm