1
當我打電話如何讓通知管理員工作?
NotificationManager mNotificationManager =
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
我得到一個錯誤
The method getSystemService(String) is undefined for the type new BroadcastReceiver(){}
我不知道在那裏我搞砸了...... TIA
你在哪裏調用這個語句,在broadcastReceiver? – Coderji