import android.R;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.os.Bundle;
import android.os.ConditionVariable;
import android.os.IBinder;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class NotifyingControll extends Service {
private static int MN;
R.layout.status_bar_notifications;
private ConditionVariable mCon;
@Override
public void onCreate() {
mNM = (NotificationManager) getSystemService(
NOTIFICATION_SERVICE);
Thread notifyingThread = new Thread(null, mTask, "NotifyingService");
mCon = new ConditionVariable(false);
notifyingThread.start();
}
@Override
public void onDestroy(){
mNM.cancel(MN);
mCon.open();
}
private Runnable mTask = new Runnable() {
public void run() {
for (int i = 0; i < 4; ++i) {
showNotification(R.drawable.stat_happy,
R.string.status_bar_notifications_happy_message);
if(mCon.block(5 * 1000))
break;
showNotificaion(R.drawable.stat_neutral,
R.string.status_bar_notifications_ok_message);
if(mCon.block(5 * 1000))
break;
showNotificaion(R.drawable.stat_sad,
R.string.status_bar_notifications_sad_message);
if(mCon.block(5 * 1000))
break;
}
NotifyingServiceActivity.this.stopSelf();
}
};
@Override
public IBinder onBind(Intent intent) {
// TODO Auto-generated method stub
return mBinder;
}
private void showNotification(int moodId, int textId) {
CharSequence text = getText(textId);
Notification notificaion = new Notification(moodId, null, 
System.currentTimeMillis());
PendingIntent contentIntent = PendingIntent.getActivity(this, 0, 
new Intent(this, NotifyingControll.class), 0);
notificaion.setLatestEventInfo(this, getText(
R.string.status_bar_notifications_mood_title), text,
contentIntent);
mNM.notify(MN , notificaion);
}
private final IBinder mBinder = new Binder() {
@Override
protected boolean onTransact (int code, Parcel data,
Parcel reply, int flags) throws RemoteException {
return super.onTransact(code, data, reply, flags);
}
};
private NotificationManager mNM;
}



다른 부분은 문제가 없는데
r.layout.drawble.status_bar_notifications 선언부분에서 모두 오류가 나네요..
Description Resource Path Location Type
Syntax error on token "status_bar_notifications", VariableDeclarator expected after this token NotifyingControll.java /Notificatino Service/src/com/noti/ser line 19 Java Problem


무슨 문제인가요 ㅠ