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出错
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出错
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货