vibrator = (Vibrator) getSystemService (Service.VIBRATOR_SERVICE);
NotificationManager manager = (NotificationManager) this.getSystemService(Context.NOTIFICATION_SERVICE);两个都是getSystemService出错,错误的信息是:
The method getSystemService(String) is undefined for the type AlarmActivity
1 quick fix available
Creat method 'getSystemService(String)'我传的“Service.VIBRATOR_SERVICE”是字符串呢~~咋回事呢?getSystemService出错